-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Package imported but not used #310
Comments
@fische thanks for the report -- could you put an example into a failing test case? |
The example I've put above is a failing test case. Edit: I have quickly checked this issue with a mate. It seems that it appeared between 5e41241 and 199c40a. |
Hi!
When a service method uses a type
T
from an imported proto and does not define the optiongoogle.api.http
to get exposed by the grpc-gateway,protoc-gen-grpc-gateway
tries anyway to import the package, where the typeT
is defined, and therefore I get the following message when I try to compile the gateway:Here's an example of such service:
The text was updated successfully, but these errors were encountered: