Updating working code (#6441)

Fixes issues with namespaces in grpc ts

Renamed welcome -> models
This commit is contained in:
mustiikhalil
2021-02-10 22:46:45 +03:00
committed by GitHub
parent 0f83367f57
commit 60eed0ca66
10 changed files with 310 additions and 288 deletions

View File

@@ -1,3 +1,5 @@
namespace models;
table HelloReply {
message:string;
}
@@ -7,6 +9,6 @@ table HelloRequest {
}
rpc_service Greeter {
SayHello(HelloRequest):HelloReply;
SayManyHellos(HelloRequest):HelloReply (streaming: "server");
SayHello(models.HelloRequest):models.HelloReply;
SayManyHellos(models.HelloRequest):models.HelloReply (streaming: "server");
}