You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to ignore, during buf build, an error when two dependencies declare an extension with the same number? Here's an example error message:
buf/test/v1/test.proto:23:14:extension with tag 1072 for message google.protobuf.MessageOptions already defined at validate/validate.proto:17:29
In this case, validate/validate.proto, which is owned by Envoy, has used an extension number reserved for another project. If my project depends on both of these, then it's not possible to build a Buf image containing all the protos unless there's some way to ignore the conflict.
For context, I'm working on the buf-gradle-plugin, specifically attempting to address the issue that my PR codifies: bufbuild/buf-gradle-plugin#171
The text was updated successfully, but these errors were encountered:
Conflicting extension numbers is something that should be a core compilation error - we shouldn't adjust this in the compiler, protoc would fail as well. It's no different than conflicting field numbers in the view of the Protobuf language. Envoy really should get this one fixed (fortunately or unfortunately).
Is it possible to ignore, during
buf build
, an error when two dependencies declare an extension with the same number? Here's an example error message:In this case,
validate/validate.proto
, which is owned by Envoy, has used an extension number reserved for another project. If my project depends on both of these, then it's not possible to build a Buf image containing all the protos unless there's some way to ignore the conflict.For context, I'm working on the buf-gradle-plugin, specifically attempting to address the issue that my PR codifies: bufbuild/buf-gradle-plugin#171
The text was updated successfully, but these errors were encountered: