Please generate these files with google.golang.org/grpc/cmd/protoc-gen-go-grpc #1040
Labels
priority: p3
Desirable enhancement or fix. May not be included in next release.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
It looks like the .pb.go files in this repository are being generated with github.com/golang/protobuf/protoc-gen-go. Though this works, it has the annoying side-effect that all
Register*Server()
functions depend on concrete type*grpc.Server
instead ofgrpc.ServiceRegistrar
. This makes it harder to stub out gRPC server implementations. See: golang/protobuf#1378Would it be possible to alter this repo to use protoc-gen-go-rpc instead?
The text was updated successfully, but these errors were encountered: