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
When targeting Node (--n) and Graphql-ws subscriptions (--subscriptions graphql-ws), the generated file has 2 issues that cause compile time and run time errors:
tsc error: using global Headers type definition instead of node-fetch Headers type definition
runtime error: not passing the webSocketImpl to the createClient function
This PR fixes both issues: #390 (there's an open question about the apiSubscription function)
The text was updated successfully, but these errors were encountered:
When targeting Node (
--n
) and Graphql-ws subscriptions (--subscriptions graphql-ws
), the generated file has 2 issues that cause compile time and run time errors:tsc
error: using global Headers type definition instead of node-fetch Headers type definitionwebSocketImpl
to thecreateClient
functionThis PR fixes both issues: #390 (there's an open question about the
apiSubscription
function)The text was updated successfully, but these errors were encountered: