Skip to content

Commit bd94e0b

Browse files
Google APIscopybara-github
authored andcommitted
fix: upgrade gRPC service registration func
An update to Go gRPC Protobuf generation will change service registration function signatures to use an interface instead of a concrete type in generated .pb.go service files. This change should affect very few client library users. See release notes advisories in googleapis/google-cloud-go#11025. PiperOrigin-RevId: 833829944
1 parent e48d999 commit bd94e0b

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

google/longrunning/BUILD.bazel

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,11 @@ load(
6969
"@com_google_googleapis_imports//:imports.bzl",
7070
"go_gapic_assembly_pkg",
7171
"go_gapic_library",
72-
"go_proto_library",
72+
"go_grpc_library",
7373
)
7474

75-
go_proto_library(
75+
go_grpc_library(
7676
name = "longrunning_go_proto",
77-
compilers = ["@io_bazel_rules_go//proto:go_grpc"],
7877
importpath = "cloud.google.com/go/longrunning/autogen/longrunningpb",
7978
protos = [":operations_proto"],
8079
visibility = ["//visibility:public"],

google/shopping/type/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ load(
5555

5656
go_proto_library(
5757
name = "type_go_proto",
58-
compilers = ["@io_bazel_rules_go//proto:go_grpc"],
5958
importpath = "cloud.google.com/go/shopping/type/typepb",
6059
protos = [":type_proto"],
6160
deps = [

0 commit comments

Comments
 (0)