From 9323b49af18272834b2b8c1d6464729338c46f69 Mon Sep 17 00:00:00 2001 From: Jovi De Croock Date: Sat, 2 Dec 2023 11:39:11 +0100 Subject: [PATCH] add missing globalids setting in docs --- docs/api/graphcache.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/api/graphcache.md b/docs/api/graphcache.md index 2ee8bde119..42f13716e4 100644 --- a/docs/api/graphcache.md +++ b/docs/api/graphcache.md @@ -32,6 +32,7 @@ options and returns an [`Exchange`](./core.md#exchange). | `optimistic` | A mapping of mutation fields to resolvers that may be used to provide _Graphcache_ with an optimistic result for a given mutation field that should be applied to the cached data temporarily. | | `schema` | A serialized GraphQL schema that is used by _Graphcache_ to resolve partial data, interfaces, and enums. The schema also used to provide helpful warnings for [schema awareness](../graphcache/schema-awareness.md). | | `storage` | A persisted storage interface that may be provided to preserve cache data for [offline support](../graphcache/offline.md). | +| `globalIDs` | A boolean or list of typenames that have globally unique ids, this changes how graphcache internally keys the entities. This can be useful for complex interface relationships. | | `logger` | A function that will be invoked for warning/debug/... logs | The `@urql/exchange-graphcache` package also exports the `offlineExchange`; which is identical to