Replacing proto 'void' message with google.protobuf.Empty from import "google/protobuf/empty.proto" or VoidMessage #3213
Unanswered
Bartsz
asked this question in
Native API
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Team,
first, thx for bringing the product to the people :).
I'm using api.proto and api_options.proto in .NET project, and since void is reserved keyword in C#, it is throwing bunch of errors and doesn't compile correctly. For my purpose I've just renamed it, but it might be a recuring issue for other developers.
Would it be possible to replace 'void' with google.protobuf.Empty as this maximizes interoperability or if 'void' empty message is required by the code base, to rename it to VoidMessage?
Beta Was this translation helpful? Give feedback.
All reactions