mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-01-07 12:56:47 +00:00
08cd8842f1
By passing the global registries to fileinit.Builder, the Build method can register the newly constructed descriptors on our behalf. As a result, we can stop registering with the v1 registries as well. We only do this for descriptor proto to remove another dependency on v1. We deliberately keep the v1 registration logic for now to make it easy to patch away this new behavior. Change-Id: Ic6aa8ffba3d2d0abe08a61fc5e1c9ca7668e0988 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/168000 Reviewed-by: Herbie Ong <herbie@google.com> |
||
---|---|---|
.. | ||
descriptor | ||
known | ||
plugin |