Closed jhump closed 4 months ago
I didn't quite implement this correctly, where "correct" means matching the behavior of protoc. For protoc, the presence of a declaration implies that verification = DECLARATION. https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.cc#L8003-L8023
protoc
verification = DECLARATION
I previously had implemented it where validation only occurred when verification was explicitly set to DECLARATION. Oops.
verification
DECLARATION
I didn't quite implement this correctly, where "correct" means matching the behavior of
protoc
. Forprotoc
, the presence of a declaration implies thatverification = DECLARATION
. https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.cc#L8003-L8023I previously had implemented it where validation only occurred when
verification
was explicitly set toDECLARATION
. Oops.