-
Notifications
You must be signed in to change notification settings - Fork 144
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
fromString on enums #325
Comments
Hi! Please help me understand the use case. Why do you need to create these values like this? |
Because my demo allows it: |
I see, thank you. There are the functions But yeah, I also don't see much issue in making the |
Well, I guess once an application allows these options to be somehow configurable (via some property file for example), they need such functions anyway. |
This is now released in experimental release |
Within my code I have the following in several places:
while all these enums have a private static
fromString
. Maybe make these methods public?The text was updated successfully, but these errors were encountered: