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

Prevent active teardown for queries on subscriptionExchange #577

Merged
merged 1 commit into from
Mar 7, 2020

Conversation

kitten
Copy link
Member

@kitten kitten commented Mar 7, 2020

Fix #576

The subscriptionExchange now supports queries and mutations using the enableAllOperations?: boolean flag. However, it actively tears down, i.e. closes, active queries since for subscriptions the server may tell the client that subscriptions have ended.

For queries and mutations this doesn't apply though as we want to keep them active indefinitely.

@changeset-bot
Copy link

changeset-bot bot commented Mar 7, 2020

🦋 Changeset is good to go

Latest commit: fac8794

We got this.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@kitten kitten force-pushed the fix/active-subscription-teardown branch from b81c79f to 8d03d54 Compare March 7, 2020 08:24
Copy link
Collaborator

@JoviDeCroock JoviDeCroock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good spot!

@kitten kitten force-pushed the fix/active-subscription-teardown branch from 8d03d54 to fac8794 Compare March 7, 2020 09:49
@kitten kitten merged commit 81be623 into master Mar 7, 2020
@JoviDeCroock JoviDeCroock deleted the fix/active-subscription-teardown branch March 7, 2020 10:07
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

Successfully merging this pull request may close these issues.

subscriptionExchange actively tears down queries which leads to no updates
2 participants