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

Look into best way to handle collections of enums #154

Open
pjfanning opened this issue Jun 30, 2022 · 1 comment
Open

Look into best way to handle collections of enums #154

pjfanning opened this issue Jun 30, 2022 · 1 comment

Comments

@pjfanning
Copy link
Contributor

https://stackoverflow.com/questions/72490918/scala-jsonscalaenumeration-for-collection

@pjfanning
Copy link
Contributor Author

This is a low priority project for me - if some feels strongly about Scala 2 enums, feel free to have a look.

I never use Scala 2 enums for anything. Enumeratum and Scala3 enums - but never Scala 2 enums.

I'm not guaranteeing that even they work with collections but if they don't they are much easier to fix. Scala 2 enums are a real pain to use in swagger because of the way the type info is erased.

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