Update dependencies for latest genproto version #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.
Update our dependencies to be compatible with the current latest release
of
google.golang.org/genproto
by running:This has broken a couple of small things, which are fixed here:
The generated var name for the embedded protobuf descriptors has
changed, so when
google.golang.org/grpc
got updated due to thegenproto update,
reflection/service.go
needed to be updated withthe new name. This was changed in reflection: generate protobuf files from grpc-proto grpc/grpc-go#5799.
The var name changed because its proto import changed as part of that
PR, and the var name is based on the import name.
The error message for when
SendHeader
is called multiple times on astream has changed which broke a test that was testing the error type
and string. This was changed upstream in server: return better status for context err when writing header grpc/grpc-go#5292.
Link: grpc/grpc-go#5799
Link: grpc/grpc-go#5292