go.mod: update grpc-gateway to v2 #9
Draft
+54
−47
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Attempting to build grpc-gateway v1 using the latest version of io_bazel_go_rules
fails due to a breaking change in how io_bazel_go_rules resolves googleapi
protobufs (https://github.com/bazelbuild/rules_go/releases/tag/v0.41.0).
Version v2.15.2 was chosen because it is a relatively recent version
that occurs before the breaking change was fixed in grpc-gateway. This
allows cockroachdb to import the change without bumping the io_bazel_rules_go
version. Other repositories that want to bump their io_bazel_rules_go can
explicitly depend on a version of grpc-gatewy that includes the bazel fix.