Re: [protobuf] Enum changes compatiblities

2011-03-31 Thread Jason Hsueh
It won't be a decode error as long as the enum field is not required. If an application without the new values receive a message containing one of the new enum values, it will treat the value as an unknown field. In the C++ and Java implementations (Python doesn't propagate unknown fields), the val

[protobuf] Enum changes compatiblities

2011-03-31 Thread Aaron
Hey, I wanted to know that a enum values can be changed like optional/ repeated fields in a protobuf. The new values would only be available to applications using the new .proto. Or, will it cause a decode error for an application receiving the new enum value but doesn't have the updated .proto.