Tommi Reiman
Tommi Reiman
Thanks for your thoughts @bsless! I think the separate `:where` type looks better of the two. About using datalog, that would be powerful as the nested sample shows. As it's...
not an datalog perf expert, there is #datalog chan in clojurians, maybe people there can share insights. I believe Asami has a fast imp (https://github.com/threatgrid/asami)
We could change https://github.com/metosin/malli/blob/master/src/malli/core.cljc#L2053-L2060 not to list the Vars, but to have a symbol fn pairs, e.g ```clj [#'any? #'some? ...] ; => [['any? any?] ['some? some?] ...] ``` not...
There is such a thing? Please.
Thanks! Added a guide about adding new types: https://github.com/metosin/malli/blob/master/README.md#adding-new-schema-types
relates to #235.
related to https://github.com/metosin/malli/issues/31#issuecomment-557893019
1. Like JSON & Plumatic Schema, only one extra entry would be allowed per map 2. Good point, these should be either combined into single key or add rules how...
Collecting alternatives from various sources: ### 1) don't support * use `:fn` to handle extra keys ### 2) special entry ```clj [:map [:x int?] [:malli.core/extra [string? string?]]] ``` ### 3)...
More bad ideas, bloat `:closed` to support extras: ```clj [:map {:closed false} [:x int?]] [:map {:closed true} [:x int?]] [:map {:closed [string? string?]} [:x int?]] ```