Status: WontFix

Comment #1 on issue 204 by ken...@google.com: Message Field Inheritance

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 proto...@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to