This commit is contained in:
jonasseglare 2025-11-21 09:44:03 +02:00 committed by GitHub
commit a81972eb70
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -122,6 +122,8 @@
(= (count model) 1) (first model)
;; here be dragons, best effort
(every? map? model) (apply mm/meta-merge model)
;; all elements are the same
(apply = model) (first model)
;; fail fast
:else (ex/fail! ::model-error {:message "Can't merge nested clojure specs", :spec model}))
name))