Skip to content
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

fix(core): Force client.reexecuteOperation to dispatch #3363

Merged
merged 3 commits into from
Aug 30, 2023

Conversation

kitten
Copy link
Member

@kitten kitten commented Aug 30, 2023

Resolves #3254

Summary

Previously, when Graphcache issued an optimistic mutation that led to a cache miss, the cache-missed query operation would stall since it wasn't allowed to be issued again.

This patch prevents such “stalls” by forcing operations to be dispatched when client.reexecuteOperation is called. This allows Graphcache and related exchanges to force re-execution of operations, regardless of the deduplication behaviour.

Set of changes

  • Add forced dispatching to client.reexecuteOperation

@kitten kitten merged commit 6431511 into main Aug 30, 2023
6 checks passed
@kitten kitten deleted the fix/reexecute-unblocking branch August 30, 2023 18:25
@github-actions github-actions bot mentioned this pull request Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant