+19
docs/graphcache/cache-updates.md
+19
docs/graphcache/cache-updates.md
···invalidate only these fields, which causes all queries using these listing fields to be refetched.If we know what result a mutation may return, why wait for the GraphQL API to fulfill our mutations?
···invalidate only these fields, which causes all queries using these listing fields to be refetched.If we know what result a mutation may return, why wait for the GraphQL API to fulfill our mutations?
+7
exchanges/graphcache/src/operations/invalidate.ts
+7
exchanges/graphcache/src/operations/invalidate.ts
+1
exchanges/graphcache/src/operations/write.ts
+1
exchanges/graphcache/src/operations/write.ts
+19
exchanges/graphcache/src/store/data.test.ts
+19
exchanges/graphcache/src/store/data.test.ts
·········
·········
+26
exchanges/graphcache/src/store/data.ts
+26
exchanges/graphcache/src/store/data.ts
···/** A map of entity links which are connections from one entity to another (key-value entries per entity) */·········
···/** A map of entity links which are connections from one entity to another (key-value entries per entity) */·········
+9
exchanges/graphcache/src/store/store.test.ts
+9
exchanges/graphcache/src/store/store.test.ts
···
+17
-11
exchanges/graphcache/src/store/store.ts
+17
-11
exchanges/graphcache/src/store/store.ts
······
······