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

Support Scala Enumeration where Value is explicitly renamed #23

Open
jakipatryk opened this issue Jan 1, 2024 · 0 comments
Open

Support Scala Enumeration where Value is explicitly renamed #23

jakipatryk opened this issue Jan 1, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jakipatryk
Copy link
Collaborator

Followup of #11 that should enhance the functionality implemented there for such enums:

object ThingsWithRenaming extends Enumeration {
  type ThingWithRenaming = Value

  val Pizza = Value("PIZZA")
  val TV = Value("TV")
  val Radio = Value("RADIO")
}
@jakipatryk jakipatryk added the enhancement New feature or request label Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant