deeplay-io / nice-grpc

A TypeScript gRPC library that is nice to you
MIT License
433 stars 33 forks source link

avoid server.start() deprecation warning #661

Closed rnons closed 1 month ago

rnons commented 1 month ago

To reproduce, run yarn test serverClass in packages/nice-grpc

yarn run v1.22.22
$ jest serverClass
(node:28544) DeprecationWarning: Calling start() is no longer necessary. It can be safely omitted.
(Use `node --trace-deprecation ...` to show where the warning was created)
 PASS  src/__tests__/serverClass.ts

The DeprecationWarning is from https://github.com/grpc/grpc-node/blob/3c9436be8eb3788173796d4c90d2abe036d0f798/packages/grpc-js/src/server.ts#L1156-L1159

aikoven commented 1 month ago

Thanks!

aikoven commented 1 month ago

Published 📦 nice-grpc@2.1.10