metosin / malli

High-performance data-driven data specification library for Clojure/Script.
Eclipse Public License 2.0
1.46k stars 208 forks source link

Validation of map schemas with keys missing types #860

Closed brettrowberry closed 1 year ago

brettrowberry commented 1 year ago

I would expect this to throw/return some invalid map schema error:

(malli.core/schema [:map [:foo]])
;; => :map 

Is this by design?

ikitommi commented 1 year ago

This is not intentional, should fail.

vharmain commented 1 year ago

Closed by https://github.com/metosin/malli/pull/864

brettrowberry commented 1 year ago

Thank you!