Calling start() on grpc client throws DeprecationWarning after @grpc/grpc-js v1.10.0 #13541
Closed
4 of 15 tasks
Labels
needs triage
This issue has not been looked into
Is there an existing issue for this?
Current behavior
When using a grpc based microservice with @grpc/grpc-js v1.10.0 or greater will cause a DeprecationWarning to be thrown when start() is called.
The @grpc/grpc-js package was updated from v1.9.14 to v1.10.0 with release v10.3.2 via PR #13173
https://github.com/grpc/grpc-node/blob/9886ee2da71ead90f61fb0d6688abb56525a60fd/packages/grpc-js/src/server.ts#L981-L984
Minimum reproduction code
https://github.com/nestjs/nest/blob/v10.3.8/sample/04-grpc
Steps to reproduce
nest/sample/04-grpc
src/grpc-client.options.ts
to containExpected behavior
When using @grpc/grpc-js v1.10.0 or greater with nestjs v10.3.2 or greater no DeprecationWarning is thrown
Package
@nestjs/common
@nestjs/core
@nestjs/microservices
@nestjs/platform-express
@nestjs/platform-fastify
@nestjs/platform-socket.io
@nestjs/platform-ws
@nestjs/testing
@nestjs/websockets
Other package
No response
NestJS version
10.3.8
Packages versions
Node.js version
20.11.0
In which operating systems have you tested?
Other
No response
The text was updated successfully, but these errors were encountered: