ember-graphql / ember-apollo-client

🚀 An ember-cli addon for Apollo Client and GraphQL
MIT License
279 stars 72 forks source link

fix(queries): update watchQuery results in the next runloop #421

Closed anehx closed 2 years ago

anehx commented 2 years ago

This fix causes watchQuery updates to be applied in the next runloop instead of the current one. This is needed to avoid actions running mutations being canceled because of the cache changes that mutation caused.

Closes #420

josemarluedke commented 2 years ago

Thank you @anehx . Published in v4.1.0.