-
Notifications
You must be signed in to change notification settings - Fork 5
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
Trouble with subscriptions #286
Comments
oh sorry, the ticks in my subscription messes up the codeblock. Let me know if it is hard to understand |
Maybe make the code a little bit clearer to read. |
I have the same issue with subscriptions. It is like doesn't work. No error message, no data results.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey, i am trying this package out. I got queries and mutations to work, but i have some trouble with subscriptions. Here is the code i am using to test:
client.graphql .runSubscription(
subscription { prefixChanged {id
prefix
}}
).subscribe({ next: (res) => console.log(res.data), error: (error) => console.error(error), complete: () => console.log("done"), });
The text was updated successfully, but these errors were encountered: