Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Datafy representation for reified schemas #1054

Open
vemv opened this issue May 8, 2024 · 0 comments
Open

Datafy representation for reified schemas #1054

vemv opened this issue May 8, 2024 · 0 comments

Comments

@vemv
Copy link

vemv commented May 8, 2024

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:

image

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant