-
-
Notifications
You must be signed in to change notification settings - Fork 286
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
Feature request: Give access to value options as field of the value #1000
Comments
I started to write some code: AlexisBRENON#2 |
I think it's going to be tricky - you need to somehow find the user's extension through |
Yes. I think you need to iterate on |
One thing you can try is to work in |
When defining options for proto values (e.g. Enum values) you have to get its descriptor to access it :
It could be nice to get access to them directly as fields of the value:
Currently, when manually coding my enums in scala, I do something like this to get this feature:
I am not sure that it is the best way, but it can give some ideas.
The text was updated successfully, but these errors were encountered: