mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-01-17 10:11:58 +00:00
8689fa59f4
This CL adds support for discarding unknown fields from the input. We add support for parsing and resolving field numbers, so that the DiscardUnknown option can ignore all unresolvable fields. We continue to reject known fields identified by field number since there are a number of edge cases that a difficult to resolve. Change-Id: I5c88b7bae8656ce20e85e4b5c92d8564a5ff8bb6 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/195779 Reviewed-by: Herbie Ong <herbie@google.com> |
||
---|---|---|
.. | ||
decode_test.go | ||
decode.go | ||
doc.go | ||
encode_test.go | ||
encode.go | ||
other_test.go |