We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
following message:
syntax = "proto3"; import "gogo/protobuf/gogoproto/gogo.proto"; message T { oneof v { string s = 1 [ (gogoproto.moretags) = 'customtag:"s"' ]; } }
will generate
$ protoc --gogofaster_out=. t.proto
go struct
type T_S struct { S string `protobuf:"bytes,1,opt,name=s,proto3,oneof"` }
So the tags are not injected into oneof fields.
oneof
The text was updated successfully, but these errors were encountered:
Thanks for logging the bug. Please see the pull request comments.
Sorry, something went wrong.
Generate json and custom tags for oneof (#611) (#612)
3f2ed6d
- add test case in tags.proto file
Generate json and custom tags for oneof (gogo#611) (gogo#612)
13773de
No branches or pull requests
Hi,
following message:
will generate
go struct
So the tags are not injected into
oneof
fields.The text was updated successfully, but these errors were encountered: