You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With a NestJS gRPC server that uses a interceptor, client stream calls are not working. If no interceptor is used, client streams work flawlessly. The same behavior occurs for bidirectional streams, but there are no bugs for server streams
npm run client => run gRPC client that makes a client stream to the server => call not working
Comment out the gRPC interceptor on line 28 inside src/main.ts
Re-run steps 2 and 3 => call working fine
Expected behavior
To have the gRPC client stream working when an interceptor is registered
Package
I don't know. Or some 3rd-party 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 (see below)
Other package
No response
NestJS version
No response
Packages versions
Nest CLI Version : 10.4.2
[Nest Platform Information]
platform-express version : 10.3.10
microservices version : 10.3.10
schematics version : 10.1.2
testing version : 10.3.10
common version : 10.3.10
core version : 10.3.10
cli version : 10.4.2
Node.js version
v20.13.1
In which operating systems have you tested?
macOS
Windows
Linux
Other
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Current behavior
With a NestJS gRPC server that uses a interceptor, client stream calls are not working. If no interceptor is used, client streams work flawlessly. The same behavior occurs for bidirectional streams, but there are no bugs for server streams
Minimum reproduction code
https://github.com/hersentino/nestjs-grpc-interceptor
Steps to reproduce
npm i
npm start
=> run gRPC servernpm run client
=> run gRPC client that makes a client stream to the server => call not workingsrc/main.ts
Expected behavior
To have the gRPC client stream working when an interceptor is registered
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
No response
Packages versions
Node.js version
v20.13.1
In which operating systems have you tested?
Other
No response
The text was updated successfully, but these errors were encountered: