protobuf-go/cmd/protoc-gen-go
Josh Humphries 971c7126c2 gofeatures: allow setting legacy_unmarshal_json_enum feature at file level
All of the other features, including custom features for C++ and Java,
allow setting a file-wide default. This makes it easier to migrate
proto2 files, so that the feature can be set at the file level instead
of needing to manually annotate each enum element. This adds the same
convenience to the (pb.go).legacy_unmarshal_json_enum feature that is
defined in this repo.

Change-Id: If3a925674a9daeed464b589747b7f78a0200118b
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/589336
Auto-Submit: Lasse Folger <lassefolger@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Lasse Folger <lassefolger@google.com>
Reviewed-by: Michael Stapelberg <stapelberg@google.com>
2024-06-11 06:00:23 +00:00
..
internal_gengo all: replace interface{} by any now that we are on Go 1.21 2024-05-15 12:42:15 +00:00
testdata gofeatures: allow setting legacy_unmarshal_json_enum feature at file level 2024-06-11 06:00:23 +00:00
annotation_test.go all: fix deprecated 2024-04-23 09:50:20 +00:00
main.go proto: fix HasPresence for extensions and missing plugin response 2024-03-26 09:28:59 +00:00
retention_test.go