Skip to content

Commit

Permalink
add missing globalids setting in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
JoviDeCroock committed Dec 2, 2023
1 parent 1fee86f commit 9323b49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/api/graphcache.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9323b49

Please sign in to comment.