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

Inconsistent behaviour between Scala2/3 DeriveSchema for simpleEnum annotations #750

Open
googley42 opened this issue Oct 13, 2024 · 0 comments

Comments

@googley42
Copy link
Contributor

I think is an unrelated existing bug in Scala 3 DeriveSchema whereby it adds simpleEnum annotation at the top level of the EnumN schema when one of the cases is a simple enum - however this does not happen with the Scala 2 macro. I think the Scala2 behavior is correct ie this should be a the leaf schema level.

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