Functions in the Encode module assume that "0" or "default" values should be elided (not serialized). However, in proto2, required fields must appear in the serialization stream, even if they have the default value.
Please add Encode module functions to support required fields. Encode.fromNondefaultedVarint exists, but none of the other data types are supported.
Functions in the Encode module assume that "0" or "default" values should be elided (not serialized). However, in proto2, required fields must appear in the serialization stream, even if they have the default value.
Please add Encode module functions to support required fields. Encode.fromNondefaultedVarint exists, but none of the other data types are supported.