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.

(docs) - Fix typo on docs/graphcache/custom-updates.md (#1201)

authored by

frederikhors and committed by
GitHub
ba3b21bb a7b1b179

+1 -1
+1 -1
docs/graphcache/custom-updates.md
··· 224 224 updates: { 225 225 Mutation: { 226 226 addTodo: (result, args, cache, info) => { 227 - const todoQueries = cache.inspectFields('Query').filter(x => x.fieldName === 'todos'); 227 + const todosQueries = cache.inspectFields('Query').filter(x => x.fieldName === 'todos'); 228 228 229 229 todosQueries.forEach(({ fieldName, arguments: variables }) => { 230 230 cache.invalidate('Query', fieldName, variables);