malli

https://github.com/metosin/malli :malli:
fmn 2020-11-20T01:36:13.108200Z

Hi guys, is there any way to get all of the values defined in :enum ? I'm trying to do some testing and it would be great if I could just iterate through it rather than hard-coded it. I guess I could just (next (malli.core/form my-enums)) . Just trying to find a more consistent way since this breaks if I add options to it.

ikitommi 2020-11-20T04:46:47.109700Z

@funyako.funyao156 try (m/children MyEnun)