-
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
errors when building with bazel #1392
Comments
I don't believe this is an issue with If this is about the |
@achew22 https://github.com/joesonw/grpc-gateway-1392 here.
|
I tried using my own
It will compile and run, However, It still reports tons of warnings, one like below:
|
These warnings are a bug in the latest |
@johanbrandhorst What I'm trying to say is that |
I just checked out the tag |
I came up with a minimal repo to replicate this error here (https://github.com/joesonw/grpc-gateway-1392) |
Thanks for that, I'm not familiar enough with |
I believe the fix is to add |
That seems like a great idea, would you be willing to contribute this fix? |
Hi, I'm using bazel (3.1.0) to build my project along with grpc-gateway. Followed #1010 , I added
1.14.5
depenpdency, and setgo_proto_library
as such:However it was unable to compile:
in deps attribute of go_proto_library rule //_apiproto:api_go_proto: target '//_apiproto:github.com/golang/protobuf/descriptor' does not exist
Thus I had to add
"@com_github_golang_protobuf//descriptor:go_default_library"
to eithergo_proto_library
orgo_library
deps.It did compile, but it spits more errors when I use it in
main
files.some WORKSPACE info that might help debugging
Details
The text was updated successfully, but these errors were encountered: