mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-03-12 13:13:23 +00:00
The protobuf data model makes no distinction between unknown fields that are within the extension field ranges or not. Now that we eagerly unmarshal extensions, there is even less need for storing unknown fields in the extension map. Instead, use the XXX_unrecognized field exclusively for this purpose. Change-Id: I673a7d6259fe9fdbdc295bcfa8252ef4da415343 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/175579 Reviewed-by: Damien Neil <dneil@google.com>