Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
Private Beta
-
None
-
None
Description
If you use an old build and try to deserialize a PB written by a new build, and the PB uses an enum value that isn't valid in your old build, PB defaults to setting it to the first-listed protobuf value.
We should ensure that the first value, then, is UNRECOGNIZED or UNKNOWN. Otherwise, we risk silently thinking we have valid data which makes the error much harder to debug.