protobuf-go/internal
Singee 70db1e1de2 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 <cfoesch@gmail.com>
Reviewed-by: Michael Stapelberg <stapelberg@google.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
2023-09-08 10:59:01 +00:00
..
benchmarks internal/impl: improve MessageInfo.New performance 2022-07-21 16:01:25 +00:00
cmd types/descriptorpb: regenerate using latest protobuf v22.0 release 2023-02-22 09:33:03 +00:00
conformance encoding/protojson: ignore unknown enum name if DiscardUnknown=true 2023-09-08 10:59:01 +00:00
descfmt all: remove shorthand import aliases 2022-05-24 20:05:50 +00:00
descopts
detrand internal/impl: introduce instability to protoreflect.Message.Range order 2020-07-01 17:34:30 +00:00
encoding encoding: add MarshalAppend to protojson and prototext 2023-05-01 15:10:15 +00:00
errors all: gofmt all 2022-01-04 22:57:54 +00:00
filedesc types/descriptorpb: regenerate using latest protobuf v22.0 release 2023-02-22 09:33:03 +00:00
filetype all: reformat with go1.19 gofmt 2022-07-21 16:01:13 +00:00
flags all: gofmt all 2022-01-04 22:57:54 +00:00
fuzz all: implement depth limit for unmarshaling 2022-02-17 17:07:31 +00:00
fuzztest
genid types/descriptorpb: regenerate using latest protobuf v24.0-rc2 release candidate 2023-07-27 12:38:59 +00:00
impl internal/impl: remove the unreachable line of code 2023-01-30 09:33:22 +00:00
msgfmt reflect: add protopath and protorange packages 2021-04-01 23:09:19 +00:00
order internal/order: fix sorting of synthetic oneofs to be deterministic 2023-05-25 07:36:46 +00:00
pragma all: add a test for copyright headers 2020-02-21 18:41:46 +00:00
protobuild all: remove shorthand import aliases 2022-05-24 20:05:50 +00:00
protolegacy all: add a test for copyright headers 2020-02-21 18:41:46 +00:00
set
strs internal/strs: avoid unnecessary allocations in Builder 2023-02-06 09:03:56 +00:00
testprotos all: update protobuf release version to fix macOS tests 2023-04-26 20:34:47 +00:00
version all: start v1.31.0-devel 2023-06-26 11:17:47 +00:00
weakdeps all: gofmt all 2022-01-04 22:57:54 +00:00