Fork me on GitHub
#malli
<
2020-06-02
>
ikitommi13:06:09

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

👍 12
katox14:06:51

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.

Vincent Cantin15:06:24

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

ikitommi18:06:22

Arne had a custom :ref too.

ikitommi18:06:07

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