malli
malli copied to clipboard
High-performance data-driven data specification library for Clojure/Script.
Regarding equality, should both ```clojure (mu/equals [:map [:id int?] [:b int?]] [:map [:b int?] [:id int?]]) ;; => false ``` and ```clojure (mu/equals [:map [:id [:or string? int?]] [:b int?]]...
In addition to schema references as strings and namespaced keywords, it would be very useful to refer to schemas via UUID.
Unrelated to https://github.com/metosin/malli/issues/125 ## Problem statement The current data notation for defining schemas can be considered pretty verbose: ```clj [:map {:closed true} [:y {:optional true} int?]] ``` It's not something...
FWIW this was happening even before https://github.com/metosin/malli/pull/504 was merged, eg., https://github.com/metosin/malli/pull/503/commits/eef669000d988244f0a4254ac0e222a430fc9333 ``` Testing malli.generator-test {:result true, :num-tests 100, :seed 1628436386881, :time-elapsed-ms 13556, :test-var "cat-test"} {:result true, :num-tests 100, :seed 1628436400443,...
I'm just getting started with Malli, and I really like it! There is something I can't figure out. Consider this schema: ```clojure (def Schema [:map [:x boolean?] [:y {:optional true}...
Hi, based on this issue: https://github.com/metosin/malli/issues/474 I was trying to do something similar. In my case, I have some conflicting info: for example, if I chose a specific type of...
A good use case would be writing the schema for the formal specifications of JSON Schema: https://cswr.github.io/JsonSchema/spec/grammar/ Looking at the first part of the definition: ```abnf JSDoc := { (...
Been experimenting with overriding the default registry vs wrapping the api's i use and passing in my mutable registry. In doing so, noticed that I can't do it with update-properties....
common helpers for malli assertions for tests. Can be done in user space, but, might be handy as a ns like `malli.test`. From Slack: > aaron51 21 hours ago >...
Btw it would be also nice if the association lines had cardinalities (0..1 / 1 / 0..*) on the "arrow side". But it seems that md/-get-links only provides the from-to...