-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AnnotateIncomingContext not declared by package runtime #1023
Comments
Hi @trelore. This is a consequence of using
Speaking from experience with other users running into this problem though, I'm gonna make release 1.11.1. |
I also met the same issue, can you clarify a little bit more on,
I'm using the commands provided from README to do the installation,
I am sure the |
Hi Minghe, Yeah so if you're using go modules you don't want to be using those commands, because they will all update independently and also update all downstream dependencies. What you want to do is add a tool dependency for $ go install github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gatewaygithub.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger It will use the versions from your Does that help? |
I ran into this issue, here was my fix. I checked my go.mod file and saw that I was running v1.9 for some reason. I manually changed the version number to the version installed to my gopath. All fixed. |
Steps you follow to reproduce the error:
Compile code
What did you expect to happen instead:
It to compile correctly
What's your theory on why it isn't working:
There is a new commit that has
AnnotateIncomingContext
declared in the runtime package. Releasing a new version with that commit in should solve the problemThe text was updated successfully, but these errors were encountered: