Updates:
Status: WontFix
Comment #1 on issue 204 by [email protected]: Message Field Inheritance
http://code.google.com/p/protobuf/issues/detail?id=204
What happens if I now add a new field to A with field number 2? Everything
breaks?
Inheritance has been discussed and rejected many times. If you'd like to
discuss it again, please bring it up on the mailing list rather than file a
bug. I recommend using composition or extensions instead.
message C {
optional A a = 1;
optional B b = 2;
optional int32 field_c = 3;
}
--
You received this message because you are subscribed to the Google Groups "Protocol
Buffers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/protobuf?hl=en.