malli 2025-05-24

Hi, Is there a way to put a literal in a Malli spec? Like: [:or "foo" "bar"] (this results in error) - what would be the correct way to represent this?

you can use [:= "foo"] or in this case, you can do [:enum "foo" "bar"]