malli 2024-10-02

I already have a set of keywords that I want to use as my :enum values. I’d like to simply write [:enum #{:a :c :e}], but I guess the only real option is to :and in a function to check the set?

(into [:enum] #{:a :c :e})

➕ 2

Also look at m/proxy-schema, you could write a simple wrapper that does what you want.

oh that makes sense, i was trying to do something inside the vector.