Skip to content

Commit

Permalink
[ggj][bazel] fix: fail early if bazel lacks a grpc_service_config.jso…
Browse files Browse the repository at this point in the history
…n file (#541)

* fix: align resname ctors with superclass variants

* fix: avoid type collisions - refactor {Concrete,Vapor}Ref into AstNodes

* fix: better message null checks in Parser

* fix: map proto.Empty RPC types to void in ServiceClient

* fix: improve import(shortName) state-keeping in ImportWriterVisitor

* fix: fix stub pkg for all ServiceSettingsStub usages

* fix: handle older protos with javaMultipleFiles=false

* fix: gate isPaged on all fields for monolith back-compat

* fix: fail early if bazel lacks a grpc_service_config.json file
  • Loading branch information
miraleung authored Nov 21, 2020
1 parent 68640c0 commit ef017b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rules_java_gapic/java_gapic.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ def java_gapic_library(

if grpc_service_config:
file_args_dict[grpc_service_config] = "grpc-service-config"
else:
fail("Missing a gRPC service config file")

if gapic_yaml:
file_args_dict[gapic_yaml] = "gapic-config"
Expand Down

0 comments on commit ef017b1

Please sign in to comment.