malli

Anton Shastun 2025-12-08T17:32:29.724719Z

Hi, I want to create custom :enum type but with a different name :enum+ to apply different decoders Is there a simple way to create custom :enum type and inherit m/-enum-schema?

opqdonut 2025-12-09T09:10:32.254419Z

This previous thread might be relevant: https://clojurians.slack.com/archives/CLDK6MFMK/p1764830209969629?thread_ts=1763749913.417939&cid=CLDK6MFMKI

opqdonut 2025-12-09T09:11:06.047669Z

No easy way to inherit, as such, but you could define :enum+ as [:enum {:decode/blah ...}]

Anton Shastun 2025-12-09T17:43:12.044989Z

@joel.kaasinen Thank you!