-
Phil Plückthun authored
- Convert dependencies data structure from `Set<string>` to `type Dependencies = Record<string, true>` - Keep track of optimistically updated dependencies (of type `Dependencies`) - Block refetching of operations that have active optimistic updates and keep track of them (see above) - Allow `executePendingOperations` to trigger refetch for previously blocked `cache-and-network` operations - Keep track of optimistic mutation that are pending at the same time, and flush their results simultaneously, also erasing the optimistically updated (i.e. blocked) dependencies at the same time