Skip to content

Conversation

@lueurxax
Copy link
Contributor

@lueurxax lueurxax commented Aug 22, 2021

Problem

For example code from URL https://apollo.vuejs.org/guide/components/subscribe-to-more.html#examples-of-updatequery on changing variables in query and subscriptions. On changing variables in query each subscriptions(in this._linkedSubscriptions) stopping and starting after query. On addSmartSubscription we push to _linkedSubscriptions current subscription. On change variables in ApolloSubscribeToMore we triggered addSmartSubscription and old subscriptions pushed in this._linkedSubscriptions.

Resolve

deduplicate this._linkedSubscriptions on adding to _linkedSubscriptions

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.

2 participants