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
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.