protobuf-go/internal
Damien Neil a60e709ac8 proto: fix DiscardUnknown
UnmarshalOptions.DiscardUnknown was simply not working. Oops. Fix it.
Add a test.

Change-Id: I76888eae1221d99a007f0e9cdb711d292e6856b1
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/216762
Reviewed-by: Joe Tsai <joetsai@google.com>
2020-01-28 23:27:58 +00:00
..
benchmarks internal/benchmarks/micro: add validator microbenchmarks 2020-01-28 22:46:05 +00:00
cmd internal/impl: inline some small varint decoding 2020-01-27 19:09:55 +00:00
conformance encoding/prototext: add MarshalOptions.EmitUnknown 2019-09-17 02:56:29 +00:00
descfmt internal: improve use of detrand in descfmt and errors 2019-09-09 18:30:00 +00:00
descopts
detrand internal: improve use of detrand in descfmt and errors 2019-09-09 18:30:00 +00:00
encoding internal/impl: inline small tag decoding 2020-01-26 22:23:05 +00:00
errors internal: improve use of detrand in descfmt and errors 2019-09-09 18:30:00 +00:00
fieldnum
fieldsort proto, internal/impl: make wire output more consistent with v1 2019-11-12 20:59:03 +00:00
filedesc internal/testprotos/legacy: rename and regenerate 2020-01-12 08:13:18 +00:00
filetype reflect/protoregistry: add (*Types).Register{Message,Enum,Extension} 2019-10-31 16:23:42 +00:00
flags
fuzz internal/impl: add message validator 2020-01-07 21:36:47 +00:00
fuzztest internal/fuzztest: factor out common fuzzer tests 2019-12-20 22:08:10 +00:00
genname internal/genname: centralize the definitions for generated names 2019-12-09 22:57:38 +00:00
impl proto: fix DiscardUnknown 2020-01-28 23:27:58 +00:00
mapsort internal/testprotos/legacy: rename and regenerate 2020-01-12 08:13:18 +00:00
pragma
protolegacy reflect/protoregistry: add (*Types).Register{Message,Enum,Extension} 2019-10-31 16:23:42 +00:00
set
strs
testprotos internal/benchmarks/micro: add a place for microbenchmarks 2020-01-26 22:22:44 +00:00