Open
Description
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 thecreateClient
function
This PR fixes both issues: #390 (there's an open question about the apiSubscription
function)
Metadata
Metadata
Assignees
Labels
No labels