Fork me on GitHub
#malli
<
2020-08-20
>
ikitommi06:08:16

... but just filter or reduce the keys?

Casey07:08:12

Yup, that's what I did 🙂

Casey07:08:54

I'm finding malli very useful for client and server side entity validation. When you have an entity that a client can submit, but is only allowed to submit a subset of all possible attributes and the other attributes are populated by the server. In a ns for an entity, I have one main custom registry (which is just a map!) that defines all possible attributes of the entity, then I build little schemas that pick out the "views" of what a valid entity looks like at different stages in its lifecycle.

👍 3
Casey11:08:25

What's the story behind the name malli, is there one?