Closed etienneo closed 5 months ago
Could you update @whatwg-node/node-fetch
and @whatwg-node/server
packages in your lockfile and try again?
You can find the versions here;
https://github.com/ardatan/whatwg-node/releases/tag/release-1714134977033
Thanks a lot @ardatan, that works perfectly for me now :)
Describe the bug
When using subscriptions with µWebSockets.js, every time a subscription is aborted by the client, I get the following error log:
The problem does not happen when the query is sent as a get parameter, only when the query is sent as post data.
Your Example Website or App
CodeSandbox
Steps to Reproduce the Bug or Issue
From the minimal example attached, doing the following curl and interrupting it will show the error message:
With the query as get data (or with the graphiql interface that sends the query as get), the problem won't happen
Expected behavior
These errors, although they don't really impact the client are making it hard to monitor errors server side.
Screenshots or Videos
No response
Platform
@graphql-yoga/*
version(s): 5.3.0Additional context
Thanks a lot for your help