malli

https://github.com/metosin/malli :malli:
Joel 2021-05-02T03:59:27.112400Z

Thanks I got that working. I had a schema with [:enum :value1 :value2] I assumed that would do the conversion, but it didn't work until I added [:and keyword? [:enum ...]]

Joel 2021-05-02T04:00:01.112600Z

makes sense though.

Joel 2021-05-02T04:02:06.113100Z

How can I validate the length of strings?

ikitommi 2021-05-02T06:08:39.113200Z

[:string {:min 1, :max 10}]

💯 1
Joel 2021-05-02T18:44:58.121200Z

@ikitommi How do i see the list of keywords I can specify? Is it to look at unit tests? For example, I didn't know where to find the min/max keywords.