You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not user of Cider, but inspectable schemas would be great. Sadly on can't implement Protocols over protocols, would need to copy&paste it to all Schema types. 75% of malli core already suffers from this (copy&pasting). Ideas welcome on how to make it in a simple way.
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
The text was updated successfully, but these errors were encountered: