Closed ikitommi closed 8 months ago
this is wrong:
(require '[malli.core :as m ]) (def my-schema (m/schema [:orn [:a-branch [:map [:a :int]]] [:b-branch [:map [:b :int]]]])) (let [{:keys [errors schema]} (m/explain my-schema {:a "2"})] (mu/path->in schema (:path (first errors)))) ;;=> [:a-branch :a]
PR fixes it.
this is wrong:
PR fixes it.