Is there an existing issue for this?
Current behavior
The subscription of individual service works fine directly but it is not working with Federation gateway
Minimum reproduction code
https://github.com/all2pie/Nestjs-Mercurius-Federation-Subscription-Bug
Steps to reproduce
npm i
nest start service --watch
nest start gateway --watch
- Try this Subscription
subscription url: ws://localhost/graphql
Expected behavior
Subscriptions should work correctly
Package version
10.0.10
Graphql version
"@apollo/subgraph": "^0.4.2",
"@nestjs/common": "^8.0.0",
"@nestjs/core": "^8.0.0",
"@nestjs/graphql": "^10.0.10",
"@nestjs/mercurius": "^10.0.9",
"@nestjs/platform-fastify": "^8.4.4",
"graphql": "^16.4.0",
"mercurius": "^9.3.6",
NestJS version
8.2.2
Node.js version
16.14.0
In which operating systems have you tested?
Other
No response
Is there an existing issue for this?
Current behavior
The subscription of individual service works fine directly but it is not working with Federation gateway
Minimum reproduction code
https://github.com/all2pie/Nestjs-Mercurius-Federation-Subscription-Bug
Steps to reproduce
npm inest start service --watchnest start gateway --watchsubscription url:
ws://localhost/graphqlExpected behavior
Subscriptions should work correctly
Package version
10.0.10
Graphql version
NestJS version
8.2.2
Node.js version
16.14.0
In which operating systems have you tested?
Other
No response