Skip to content

Commit

Permalink
Add "strictDependencies" to suppress attribute of Bazel rule
Browse files Browse the repository at this point in the history
Not suppressing this causes an error for a missing direct dependency
for the generated gRPC-Web library if a service returns a protobuf
message not declared in the same proto_library.
  • Loading branch information
Yannic committed Aug 22, 2018
1 parent 749f4e0 commit 3b2b250
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bazel/closure_grpc_web_library.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ def _closure_grpc_web_library_impl(ctx):

suppress = [
"misplacedTypeAnnotation",
"unusedPrivateMembers"
"unusedPrivateMembers",
"strictDependencies",
]

library = closure_js_library_impl(
Expand Down

0 comments on commit 3b2b250

Please sign in to comment.