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
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
client.reexecuteOperation