I might be missing something here, but it seems to me like a GraphQLQueryWatcher that is not cancelled explicitly is retained by the ApolloStore and will continue to receive updates, even if the object that created the watcher (by calling watch()) releases it.
Do I need to be ensuring that I manually cancel() my GraphQLQueryWatcher every time I'm done with it? It would be nice if, when I have no retain on the watcher, it automatically cancels.
If I'm missing something and it already works this way, then please let me know and close this!
Thanks
I might be missing something here, but it seems to me like a
GraphQLQueryWatcherthat is not cancelled explicitly is retained by theApolloStoreand will continue to receive updates, even if the object that created the watcher (by callingwatch()) releases it.Do I need to be ensuring that I manually
cancel()myGraphQLQueryWatcherevery time I'm done with it? It would be nice if, when I have no retain on the watcher, it automatically cancels.If I'm missing something and it already works this way, then please let me know and close this!
Thanks