Tommi Reiman

Results 437 comments of Tommi Reiman

In JSON Schema, it's packed in one (ternary?) key: https://json-schema.org/understanding-json-schema/reference/object.html#properties

`:multi` just got `::m/default` branch. Would be coherent way to do this too: ```clj (def valid? (m/validator [:multi {:dispatch :type} ["object" [:map-of :keyword :string]] [::m/default :string]])) (valid? {:type "object", :key...

Need to implement this to ship #606. Will most likely default to what is described in this comment: https://github.com/metosin/malli/issues/43#issuecomment-797885232

could compress that into: ```clj (def f (m/schema [:=> [:cat [:and [:map-like [:id qualified-keyword?] [:before {:optional true} fn?] [:after {:optional true} fn?]] [:fn (fn [{:keys [before after]}] (or before after))]]]...

... currently working an a (schematized) destructuring support for malli, generating: ```clj (ms/schema '[a b [c & {:keys [c e] :as ce}] & {:keys [f g] :as fg}]) ;[:cat ;...

What happens is: * `:testfoo` is not a qualified key, it’s contents are inlined * `::testbaz` is a qualified = schema reference, instead of the inlined contents, you get the...

Looking forward to this. Related project: https://github.com/akovantsev/json-schema-to-clojure-spec

hi, not sure if there are low-hanging ones ATM, will go through the issues later and try to find those. There are some with `help wanted` thou. Cheers 🙂