-
-
Notifications
You must be signed in to change notification settings - Fork 454
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
Subscription closed after 3 events #3139
Comments
Are you sure you're using the latest version Because this exact bug has already just been reported and fixed 😅 |
Thank you for this @kitten ..I confirmed this fixed the same bug I was about to come out and report! I had to be sure to install @urql/core along with @urql/svelte to be sure to use the latest ( Just to confirm here...the |
@mnichols: Yes, just to clarify — although, this should also be documented in the TSDocs —
Edit: Also, just another reminder here for everyone that bindings (and exchanges) depend on The only note as per the docs and the release announcement, you'll sometimes want to deduplicate dependencies (instructions in the release announcement), so you don't have two installations of |
Describe the bug
When using next-urql
^5.0.0
and urql^4.0.0
instead of next-urql^4.0.3
and urql^3.0.3
, in combination with graphql-sse^2.1
, my subscription closes when the third event comes in. The version of graphql-sse does not make a difference.The setup:
Other than that, I'm simply using
useSubscriptions
with no bells or whistles.Reproduction
Not sure how to do that with a subscription and gql-sse
Urql version
next-urql ^5.0.0
urql ^4.0.0
graphql-sse ^2.1.1
Validations
The text was updated successfully, but these errors were encountered: