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
I am trying to bail out of an optimistic update using IGNORE as stated in the docs
However, the mutation doesn't even fire because apollo client does not recognize the args. Errors with message: [TypeError: Cannot read property 'IGNORE' of undefined]
Does anyone have success with bailing out of an optimistic update?
apollo-client version 3.8.7
The text was updated successfully, but these errors were encountered:
Thanks for opening this issue! Bailing out of an optimistic update landed in v3.9.0. That all important context was missing from the docs so I've just opened #11663 with the fix. Sorry about the confusion - I'll close this issue out, but if you run into any other issues let us know :)
Do you have any feedback for the maintainers? Please tell us by taking a one-minute survey. Your responses will help us understand Apollo Client usage and allow us to serve you better.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
For general questions, we recommend using StackOverflow or our discord server.
I am trying to bail out of an optimistic update using
IGNORE
as stated in the docsHowever, the mutation doesn't even fire because apollo client does not recognize the args. Errors with message:
[TypeError: Cannot read property 'IGNORE' of undefined]
Does anyone have success with bailing out of an optimistic update?
apollo-client version
3.8.7
The text was updated successfully, but these errors were encountered: