malli 2025-02-24

I cannot figure out what is wrong with this schema code.

Maybe this is working as expected.

schema? is only true for actual Schema objects, not bits of data like [:map ...]

try m/schema instead to convert the data into a Schema object

medn/read-string is doing m/schema for you, of course

Thanks. I'm painfully new.

it's easy to get mixed up with these since pretty much all malli functions accept data as well as a Schema object

you very rarely actually need m/schema?

1

Malli is a miracle really. Thank you.