Mirror: The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(graphcache): Fix offlineExchange duplicating offline mutations (#3158)

authored by

Phil Pluckthun and committed by
GitHub
89b7610f 1fd479c4

+8 -2
+5
.changeset/warm-poets-battle.md
··· 1 + --- 2 + '@urql/exchange-graphcache': patch 3 + --- 4 + 5 + Fix `offlineExchange` duplicating offline mutations in failed queue.
+3 -2
exchanges/graphcache/src/offlineExchange.ts
··· 1 - import { pipe, merge, makeSubject, filter } from 'wonka'; 1 + import { pipe, share, merge, makeSubject, filter } from 'wonka'; 2 2 import { SelectionNode } from '@0no-co/graphql.web'; 3 3 4 4 import { ··· 180 180 } 181 181 182 182 return true; 183 - }) 183 + }), 184 + share 184 185 ); 185 186 }; 186 187