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
1、I define protocolbuff message with gogoproto.embed, for example: ` message UserBase { optional int64 id = 1; }
message UserDetail { optional UserBase UserBase = 1 [(gogoproto.nullable) = false, (gogoproto.embed) = true]; optional string name = 2 [(gogoproto.nullable) = true]; } `
crash as below:
There hasn't Names:
2、protocolbuff support embed filed: https://godoc.org/github.com/gogo/protobuf/gogoproto#hdr-More_Canonical_Go_Structures
The text was updated successfully, but these errors were encountered:
Making truss not panic should be pretty straightforward, but marshaling support may be limited.
Sorry, something went wrong.
No branches or pull requests
1、I define protocolbuff message with gogoproto.embed, for example:
`
message UserBase {
optional int64 id = 1;
}
message UserDetail {
optional UserBase UserBase = 1 [(gogoproto.nullable) = false, (gogoproto.embed) = true];
optional string name = 2 [(gogoproto.nullable) = true];
}
`
crash as below:
There hasn't Names:
2、protocolbuff support embed filed:
https://godoc.org/github.com/gogo/protobuf/gogoproto#hdr-More_Canonical_Go_Structures
The text was updated successfully, but these errors were encountered: