metosin / malli

High-performance data-driven data specification library for Clojure/Script.
Eclipse Public License 2.0
1.5k stars 211 forks source link

add malli experimental describe functionality #805

Closed escherize closed 1 year ago

escherize commented 1 year ago

This follows many conventions in the JSON Schema tranformation ns.

I believe it is complete, meaning it can translate all included malli schemas.

It also exposes the ability to add a :description property which will be used instead of a computed (or un-computable) description string.

ikitommi commented 1 year ago

I'll check this tomorrow.

ikitommi commented 1 year ago

This is beautiful. Thanks!!

ikitommi commented 1 year ago

post-stylize: https://github.com/metosin/malli/commit/9877a8b918f7dd34194ccef8337eed9c2433ac6a (will later write a style-guide)