-
Notifications
You must be signed in to change notification settings - Fork 15.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
C#: CustomOptions broken and deprecated without working alternatives #7043
Comments
Options currently:
|
I have same issue too. |
@ObsidianMinor Grpc.Tools 2.28.x are already using protobuf 3.11. Does that mean the problem is solved now? |
Should be solved, yes. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of protobuf and what language are you using?
Version: v3.11.2
Language: C#
What operating system (Linux, Windows, ...) and version?
Win
What runtime / compiler are you using (e.g., python version or gcc version)
Generated C# classes from proto files using Grpc.Tools v2.26.0
What did you do?
ServiceName.proto
SumRequestDto.proto
Program.cs
Until Google.Protobuf 3.8.0 everything worked fine with the above code.
I also tried the suggestion to use
SumRequestDtoV1Reflection.Descriptor.GetOption()
which requires aExtension<FileOptions, T> extension
argument.My Questions:
What did you expect to see
The variable
messageName
assigned to "Producer".What did you see instead?
The variable
messageName
assigned to null.The text was updated successfully, but these errors were encountered: