Closed GoogleCodeExporter closed 9 years ago
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.
Original comment by xiaof...@google.com
on 7 Aug 2014 at 5:28
Original issue reported on code.google.com by
matthew....@gmail.com
on 7 Aug 2014 at 2:37