You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You need to generate id yourself so that you will know what's the id of the current fetch
You need you to use methods without an abstraction, that it seems like, are not intended to be used by the end-user ( generateQueryId, fetchQuery, stopQuery etc )
I understand.
But there is already such a capability implemented by apollo-client.
The problem is that there's no appropriate abstraction for this in vue-apollo's side.
We need to be able to the get the queryId of a pending query by its name ( or any other way ), and a method such as 'stopQuery' that'll get the id and will kill it.
The problem
There's no ability to cancel/abort a request that is pending and hasn't resolved yet
Use case
Possible solutions
https://github.com/apollographql/apollo-feature-requests/issues/40#issuecomment-554561836
Works, but
apollographql/apollo-client#4150 (comment)
Works, but
Thoughts
It seems like the first solution is much more suitable, but a good abstraction should be implemented
The text was updated successfully, but these errors were encountered: