protobuf-go/reflect
Joe Tsai 77dfd04893 reflect/protoregistry: add compile-time opt-out for registration conflicts
The next release of this module will panic on registration conflicts.
While we have been warning that this will become a fatal error for about
a year now, it's almost certainly the case that some users still have
ambiguous registrations.

In addition to the GOLANG_PROTOBUF_REGISTRATION_CONFLICT environment variable,
also define a linker-initialized variable that users can set.

Change-Id: I3325d841b9b6c692e2862100d81aebdcfda069fc
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/295349
Trust: Joe Tsai <joetsai@digital-static.net>
Trust: Joe Tsai <thebrokentoaster@gmail.com>
Reviewed-by: Damien Neil <dneil@google.com>
2021-03-02 23:29:07 +00:00
..
protodesc reflect/protodesc: fix round-tripping for package field 2020-10-07 22:44:53 +00:00
protoreflect reflect/protoreflect: improve source information usability 2020-07-23 21:50:46 +00:00
protoregistry reflect/protoregistry: add compile-time opt-out for registration conflicts 2021-03-02 23:29:07 +00:00