You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Handle Java-style enum objects that allow for a definition of allowed values that get created automatically on first access with a static flag to avoid recreating the values again.
Yes, UserRole.default is just a hard-coded method with the default value, so if we want that functionality in the DSL then it would make sense to have an option available
Handle Java-style enum objects that allow for a definition of allowed values that get created automatically on first access with a static flag to avoid recreating the values again.
For retrieving, two possible syntax options:
Or get rid of new (by making initialize private) and find and use one method per enum value:
The text was updated successfully, but these errors were encountered: