Status: WorkingAsIntended
        Owner: xiaof...@google.com

Comment #1 on issue 660 by xiaof...@google.com: PrintFieldValue() fails if the enumvalue is valid.

Protobuf provides backward compatibility for wire format, not that we'll tolerant arbitrary invalid values thrown to protobuf API.

Here is what we guaranteed for compatibility: If an old server parses data produced by a new client and the data contains enum values that are unknown to the server, parsing will succeed and these unknown enum values will be stored as unknown fields so the actual data is preserved but just that the server will see that enum field as not set. This way old server will be able to work with new data and we can guarantee all enum values you read from protobuf messages to be valid.

You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:

You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to