mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-01-01 03:14:16 +00:00
851185dae3
Aberrant messages are hand-crafted messages that happen to work because they use the same struct tags that generated code emits. This happens to work in v1, but is unspecified behavior and entirely outside the compatibility promise. Support for this was added early on in the history of the v2 implementation, but entirely untested. It was removed in CL/182360 to reduce the technical debt of the legacy implementation. Unfortunately, sufficient number of targets do rely on this aberrant support, so it is being added back. The logic being added is essentially the same thing as the previous logic, but ported to use internal/filedesc instead of the now deleted internal/prototype package. Change-Id: Ib5cab3e90480825b9615db358044ce05a14b05bd Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/184517 Reviewed-by: Damien Neil <dneil@google.com> |
||
---|---|---|
.. | ||
build_test.go | ||
build.go | ||
desc_init.go | ||
desc_lazy.go | ||
desc_list_gen.go | ||
desc_list.go | ||
desc_test.go | ||
desc.go | ||
name_pure.go | ||
name_unsafe.go | ||
placeholder.go |