mercurius-js / mercurius

Implement GraphQL servers and gateways with Fastify
https://mercurius.dev/
MIT License
2.35k stars 237 forks source link

Fix: Error when sending query response over webSocket in Gateway mode #890

Closed sameer-coder closed 2 years ago

sameer-coder commented 2 years ago

This PR fixes an issue which occurs when sending Query/Mutation response data via webSocket in Gateway mode.

Closes #834

cc @simoneb

simoneb commented 2 years ago

@codeflyer can you take a look?