Skip to content

Meaningful printing of variants #2556

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

Closed
quicksnap opened this issue Mar 1, 2018 · 1 comment
Closed

Meaningful printing of variants #2556

quicksnap opened this issue Mar 1, 2018 · 1 comment
Labels
stale Old issues that went stale

Comments

@quicksnap
Copy link

A wonderful feature would be to leverage bs.deriving to meaningfully print a variant value, including constructor value. This would only work if bs.deriving jsConverter were recursive.

Standard, polymorphic and open variants all need consideration.

This feature would have a great benefit to logging facilities for a Redux-type pipeline that uses variants for actions.

I'd love to help if I'm able; this feature is super-valuable to me!

@stale
Copy link

stale bot commented Jan 15, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Old issues that went stale label Jan 15, 2021
@stale stale bot closed this as completed Jan 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Old issues that went stale
Projects
None yet
Development

No branches or pull requests

1 participant