malli

https://github.com/metosin/malli :malli:
lread 2021-01-17T00:04:09.005200Z

I’m trying out malli for the first time. I’m using it to validate user entered options. I really like the humanize spell check support. Check out this helpful error message!

Invalid inline options: #:test-doc-blocks{:read-cond ["should be spelled :test-doc-blocks/reader-cond"]}
 file: doc/design/namespaced-elements.adoc line: 277

lread 2021-01-17T00:04:31.005400Z

Anyhoo, thanks!

👍 3
naomarik 2021-01-17T18:50:26.006700Z

I've yet to update malli since before it had an actual version number. Looks way more feature rich now.

ikitommi 2021-01-17T19:13:25.008400Z

the function schemas are in master, but not released. there is a bug with generating multi-arity functions and as the sequence/regex schemas are in, will add support for varags. Then good to release a new version. Hopefully much more and smaller releases after that.

ikitommi 2021-01-17T19:14:30.009200Z

btw, comments welcome on the malli.error/humanize output: few options how to fix that: https://github.com/metosin/malli/pull/333#discussion_r559224770