-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
How understand ExtensionDesc options and this value without convert to string? #1198
Comments
I apologize, but I don't understand what this is asking. Can you be more specific about what you trying to do? Also, it seems like you're using |
@dsnet, Yeap, sure. In code I am used descriptor from I hope, you can understand my problem)) |
I find this interesting protosal - #555 i wanna get setted value from As equivalent from proposal example equals |
You have have an ExtensionDesc and want to retrieve the value for a field that the extension descriptor represents, you can use (FYI, we try to keep our issue tracker about actionable issues. Questions like this are best asked on Slack or someone other means where you can more readily get immediate help. Consider joining the |
Thanks for you, @dsnet |
Hi, everyone
How understand field options type without convert to string?
Example part of code:
I realized in my code by call
FieldDescriptorProto.GetOptions().String()
and compare with const nullable string value. Do you have any ways understand to it?The text was updated successfully, but these errors were encountered: