+1
-1
docs/graphcache/cache-updates.md
+1
-1
docs/graphcache/cache-updates.md
+6
-1
docs/graphcache/errors.md
+6
-1
docs/graphcache/errors.md
······+When you have a resolver defined on a field you shouln't be combining it with a directive as the directive
+35
docs/graphcache/local-directives.md
+35
docs/graphcache/local-directives.md
···+The function signature of a directive is a function which receives the arguments the directive is called with in the document.
+1
-1
docs/graphcache/local-resolvers.md
+1
-1
docs/graphcache/local-resolvers.md
+1
-1
docs/graphcache/offline.md
+1
-1
docs/graphcache/offline.md
+4
-4
docs/graphcache/schema-awareness.md
+4
-4
docs/graphcache/schema-awareness.md
······
+2
-1
exchanges/graphcache/src/ast/variables.ts
+2
-1
exchanges/graphcache/src/ast/variables.ts
······
+142
exchanges/graphcache/src/cacheExchange.test.ts
+142
exchanges/graphcache/src/cacheExchange.test.ts
······
+1290
-1150
exchanges/graphcache/src/extras/relayPagination.test.ts
+1290
-1150
exchanges/graphcache/src/extras/relayPagination.test.ts
······-it('returns a subset of the cached items if the query requests less items than the cached ones', () => {+it('returns a subset of the cached items if the query requests less items than the cached ones', () => {
+499
-352
exchanges/graphcache/src/extras/simplePagination.test.ts
+499
-352
exchanges/graphcache/src/extras/simplePagination.test.ts
···
+2
-1
exchanges/graphcache/src/helpers/help.ts
+2
-1
exchanges/graphcache/src/helpers/help.ts
+43
-8
exchanges/graphcache/src/operations/query.ts
+43
-8
exchanges/graphcache/src/operations/query.ts
·········+`A resolver and directive is being used at "${typename}.${fieldName}" simultaneously. Only the directive will apply.`,···············
+15
exchanges/graphcache/src/store/store.ts
+15
exchanges/graphcache/src/store/store.ts
······/** Implementation of the {@link Cache} interface as created internally by the {@link cacheExchange}.······
+16
exchanges/graphcache/src/types.ts
+16
exchanges/graphcache/src/types.ts
···* @see {@link https://urql.dev/goto/docs/graphcache/local-resolvers} for the full resolvers docs.+* A {@link DirectivesConfig} may be passed to allow local directives to be used. For example, when `@_custom` is placed on a field and the configuration contains `custom` then this directive is executed by Graphcache.+* @see {@link https://urql.dev/goto/docs/graphcache/local-directives} for the full directives docs.···