Tommi Reiman
Tommi Reiman
Once ClojureDart supports multimethods and reader conditional, we can ensure Malli works with it. Not much we can do before that (malli extensions lean on multimethods).
Thanks for reporting. `satisfies?` is dead-slow and support for it was removed in the [schema creation performance improvement epic](https://github.com/metosin/malli/issues/513). Please go vote up https://clojure.atlassian.net/browse/CLJ-1814.
one option would be to first try the `instance?` call (should match ~100% of cases) and use `satisfies?` as backup. Commented on the other issue already (https://github.com/metosin/malli/issues/961#issuecomment-1732537677) - malli supports...
Minimal repro: ```clojure (m/schema [:schema {:registry {:select-keys (mu/-select-keys)}} :int]) ``` Root cause might be that `m/schema` walks the local registries and tries to instantiate all `IntoSchema`s. select-keys blows on invalid...
even more minimal: ```clojure ;; :and requires 1+ children (m/schema [:schema {:registry {::and (m/-and-schema)}} :int]) ``` Not instantiating `IntoSchema`s should have a positive effect on Schema creation.
`:malli/always` is a good idea!
there is no way to collect non-function schemas atm. need to add support for it before this can be merged.
This would be great.
Thanks for reporting. I think this is even harder than that. There should be conversion from explain result of `:in` to `:path` and vice versa and that doesn't hold for...
You can use `:vector` to get all errors: ```clojure (malli.core/explain [:vector :int] [1 2 "a" "b"]) ;{:schema [:vector :int], ; :value [1 2 "a" "b"], ; :errors ({:path [0], :in...