Fork me on GitHub
#malli
<
2023-01-20
>
eskos11:01:43

Finally took the time to release this one properly. I’d say I’m about 17% ashamed of it, which to me means it’s like the perfect time to throw it out there for people to scrutinize 🙂 From Malli’s point of view Muotti is a somewhat fancy value transformer. It’s originally made to fill a need I had and works well enough for me that I want to believe it’s useful for others as well 🤞

👍 6
clojure-spin 2
escherize16:01:57

This is slick — hope I find a good reason to pull it in soon

🙇 2
ikitommi16:01:59

@U8SFC8HLP related to "can provide default values for nils", does it have benefits over using mt/default-value-transformer?

eskos16:01:38

Probably not practical, since it does more than mt/default-value-transformer internally.

eskos17:01:53

Lets consider it another flavor, maybe one doesn't want to compose transformers, or maybe defaulting to different value in different steps makes sense...probably not, but it's ambiguous and was easy to implement originally so it's there 🙂

👌 2