malli

https://github.com/metosin/malli :malli:
ikitommi 2020-06-02T13:31:09.496100Z

Great talk by @plexus about malli: https://youtu.be/ww9yR_rbgQs

👍 3
ikitommi 2020-06-02T13:31:35.496300Z

and the event today: https://clojureverse.org/t/new-online-meetup-clojure-european-summer-time/6018/6

katox 2020-06-02T14:02:51.000300Z

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.

2020-06-04T15:20:24.002800Z

In Minimallist, there are :let and :ref nodes which make composition of models explicit. Maybe Malli will get something similar once it supports recursion.

ikitommi 2020-06-07T18:33:22.004900Z

Arne had a custom :ref too.

ikitommi 2020-06-07T18:34:07.005100Z

there is also some thinking in the README about entities & values: https://github.com/metosin/malli#entities-and-values