-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Client 2.4.3 errors out when executing a query with a hot cache #4034
Client 2.4.3 errors out when executing a query with a hot cache #4034
Comments
Perhaps related to #3881 |
This comment has been minimized.
This comment has been minimized.
@GlennMatthys No, this is a new problem, which I accidentally introduced when I replaced that |
In case there wasn't a GitHub notification, you should be able to fix this by running npm install apollo-utilities@latest to get version 1.0.23. |
@benjamn |
See also #4039 |
This fixed my problem, thanks! |
Version |
I just started getting the same error. Is Apollo-utilities@latest for server or client? |
I can confirm that 1.0.23 doesn't fix all
|
@benjamn This issue should be reopened as it doesn't appear to be fixed yet. |
This should now be fixed with |
Just tested with [email protected] and is working for me. THX... |
When a query runs for a second time (for example navigating back to an already visited page) and there's data in the cache, QueryManager crashes.
The data is fetched through vue-apollo. It uses a watch query, the fetchPolicy is set to 'cache-and-network'.
Intended outcome:
Query runs and fills cache as usual
Actual outcome:
Execution errors out:
How to reproduce the issue:
Working on a jsfiddle
Versions
Fails with:
Works with:
The text was updated successfully, but these errors were encountered: