mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-01-29 18:32:46 +00:00
28b807b56e
In order for the synthetic @type field to potentially get reordered, we implement insertion of that synthetic field by adding it as a synthetic field that Range may iterate over. This change sets up this code to more readily support a hypothetical serialization mode for canonical serialization. Change-Id: Ia0015a1a0804c15805dc5f3a3511fcf0f8513418 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/243817 Reviewed-by: Herbie Ong <herbie@google.com>