Open scullionw opened 6 months ago
Is this expected? From what i understand, in proto2, if a field is marked as required then deserialization should fail if it is missing
Generated code (See required field)
Raw protoc decode (field is missing)
prost decoded struct (deserialization succeeded, empty string)
fwiw our nodejs protobuf library does fail on decode, but im wondering what the expected behaviour is
Is this expected? From what i understand, in proto2, if a field is marked as required then deserialization should fail if it is missing
Generated code (See required field)
Raw protoc decode (field is missing)
prost decoded struct (deserialization succeeded, empty string)
fwiw our nodejs protobuf library does fail on decode, but im wondering what the expected behaviour is