fix(build): allow services to be named Service (#709)

Fixes https://github.com/hyperium/tonic/issues/676
This commit is contained in:
David Pedersen
2021-07-12 16:47:45 +02:00
committed by GitHub
parent 167e8cb5b2
commit 380d81dd86
7 changed files with 37 additions and 3 deletions
@@ -0,0 +1,11 @@
syntax = "proto3";
package foo;
service Service {
rpc Foo(stream FooRequest) returns (stream FooResponse) {}
}
message FooRequest {}
message FooResponse {}