-
Notifications
You must be signed in to change notification settings - Fork 412
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
encoding/protojson: ignore unknown enum name if DiscardUnknown=true
This makes encoding/protojson pass all protobuf conformance tests. Other Similar CL: - https://go-review.googlesource.com/c/protobuf/+/350469 - https://go-review.googlesource.com/c/protobuf/+/256677 Fixes golang/protobuf#1208 Change-Id: I9f74162b80a3c7ee4750160fc59f0313345046de Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/525535 Reviewed-by: Cassondra Foesch <[email protected]> Reviewed-by: Michael Stapelberg <[email protected]> Reviewed-by: Matthew Dempsky <[email protected]>
- Loading branch information
1 parent
f9212a8
commit 70db1e1
Showing
3 changed files
with
52 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +0,0 @@ | ||
Recommended.Proto3.JsonInput.IgnoreUnknownEnumStringValueInMapValue.ProtobufOutput | ||
Recommended.Proto3.JsonInput.IgnoreUnknownEnumStringValueInOptionalField.ProtobufOutput | ||
Recommended.Proto3.JsonInput.IgnoreUnknownEnumStringValueInRepeatedField.ProtobufOutput | ||