Fork me on GitHub
#malli
<
2020-01-11
>
ikitommi09:01:27

Upcoming:

(-> (m/explain
      [:map {:closed true}
       [:orders boolean?]
       [:deliver boolean?]]
      {:orders true
       :deliverz true})
    (me/with-suggestions)
    (me/humanize))
;{:deliver ["missing required key"]
; :deliverz ["likely misspelling of :deliver"]}

roklenarcic20:01:52

Added a couple of schemas I’m using to a public repo https://github.com/RokLenarcic/malli-schemas