blokur / grpc-ts-demo

🎵 Demo of a gRPC client and server implementation in TypeScript
MIT License
124 stars 30 forks source link

Migrate to @grpc/grpc-js #2

Closed jsanchez-innomius closed 3 years ago

jsanchez-innomius commented 4 years ago

Your example has been super helpful, have you consider to create a new example to migrate from grpc to @grpc/grpc-js since grpc will be deprecated the next year and it is not longer accepting any new features? I have tried but i can't not make it work, I can't use the service interface and also i am not able to add a service.

Thank you, regards.

browdues commented 4 years ago

I have had similar issues. In fact, if I don't use your yarn.lock file, I'm not able to generate code from the proto.

Speaking for myself and apparently others, 'twould be extremely awesome if you could get this working 🙏

mschristensen commented 3 years ago

Thanks @jsanchez-innomius for raising. I've now upgraded from grpc to the latest @grpc/grpc-js 1.2.2 along with v5 of grpc_tools_node_protoc_ts.