Details
-
Wish
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.11.0
-
None
-
None
Description
Spec is underspecified. It doesn't say whether non-canonical varint serializations are allowed (i. e. whether it is okey to serialize number "5" as two bytes). I propose to explicitly forbid such serializations. I. e. to require reader to fail when reading such serialization. This will ensure (at least for simple schemas) that equal values serialize to equal binary strings.