ellie-idb / grpc-demo

Demo application utilizing gRPC-D
Do What The F*ck You Want To Public License
2 stars 2 forks source link

Q: how the helloworld.d is generated? #2

Open mw66 opened 1 year ago

mw66 commented 1 year ago

I am using: https://github.com/hatf0/grpc-d-compiler

but:

protoc --plugin=protoc-gen-grpc-d=../grpc-d-compiler/protoc-gen-grpc-d helloworld.proto --d_opt=message-as-struct --d_out=./source

does not generate the service interface, i.e in the newly generate file, the following are missing:

-interface Greeter
-{
-    @RPC("/helloworld.Greeter/SayHello")
-    Status SayHello(HelloRequest, ref HelloReply);
-
-}

Do I need to pass in some additional flag?

Thanks.

ellie-idb commented 1 year ago

Interesting. Let me see if I'm able to reproduce this

ellie-idb commented 1 year ago

Was not able to reproduce this. Please try with the latest compiler that I just pushed?