Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zeus generated file is incorrect when targeting Node and Graphql-ws subscriptions #391

Open
gthau opened this issue Feb 16, 2024 · 0 comments

Comments

@gthau
Copy link

gthau commented Feb 16, 2024

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:

  1. tsc error: using global Headers type definition instead of node-fetch Headers type definition
  2. 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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant