Fork me on GitHub
#malli
<
2020-08-25
>
Elso12:08:11

"No implementation of method: :-form of protocol: #'malli.core/Schema found for class: clojure.core$int_QMARK_"
Version bumped from "0.0.1-20200404.091302-14" to "0.0.1-SNAPSHOT". Validating with
(->> (m/decode schema data mt/string-transformer)
     (m/explain schema)
     me/humanize))
and a schema like
[:map
  [:something [:map
                [:a int?]]]
and input data like
{:something {:a 10}}

Elso12:08:59

What's going on here?

Elso13:08:25

Apparently, my example was not telling the important part and the breaking change was that this: [:map [:issue keyword? :user-endpoint string?]] used to work but is now required to be [:map [:issue keyword?] [:user-endpoint string?]]

Elso13:08:44

Which seems quite reasonable

ikitommi15:08:31

plan is to describe malli schema syntax using malli to get humanized errors on invalid syntax

👍 3