Open vemv opened 1 month ago
Malli provides misc objects that reify IntoSchema, Schema, etc.
reify
While those print fine in the repl (they look like data, can easily be understood), they don't look great in tools like the CIDER inspector:
A reasonable and universal solution would be to make those objects also implement Clojure's own datafy.
datafy
All visual tools (Cider, REBL, Portal, etc) understand datafy.
Probably, a good datafy representation would feel pretty close (if not identical) to what is already printed to the repl.
Thanks - V
Malli provides misc objects that
reify
IntoSchema, Schema, etc.While those print fine in the repl (they look like data, can easily be understood), they don't look great in tools like the CIDER inspector:
A reasonable and universal solution would be to make those objects also implement Clojure's own
datafy
.All visual tools (Cider, REBL, Portal, etc) understand datafy.
Probably, a good datafy representation would feel pretty close (if not identical) to what is already printed to the repl.
Thanks - V