Great talk by @plexus about malli: https://youtu.be/ww9yR_rbgQs
and the event today: https://clojureverse.org/t/new-online-meetup-clojure-european-summer-time/6018/6
Just a thought: one thing that makes debugging Malli structures hard is that it doesn't retain any information of how it was composed. If you def a SubPart
and then def a Part
based on that using mu/union
that info is lost. Not that it would always be possible (because schemas can just be created programatically) but it might be useful to stuff something into Meta to display it later in the explain
.
In Minimallist, there are :let
and :ref
nodes which make composition of models explicit.
Maybe Malli will get something similar once it supports recursion.
Arne had a custom :ref
too.
there is also some thinking in the README about entities & values: https://github.com/metosin/malli#entities-and-values