From 89eaf6f0d13b5d79b1bf86a5fce60e5409d56916 Mon Sep 17 00:00:00 2001 From: Ben Newman Date: Wed, 16 Oct 2019 10:14:04 -0400 Subject: [PATCH] Reword "array of `TypePolicy` objects" for accuracy. --- docs/source/caching/cache-configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/caching/cache-configuration.md b/docs/source/caching/cache-configuration.md index 213d1e3e5f6..5456003a7f5 100644 --- a/docs/source/caching/cache-configuration.md +++ b/docs/source/caching/cache-configuration.md @@ -172,7 +172,7 @@ Objects that are not normalized are instead embedded within their _parent_ objec ## The `TypePolicy` type -You can provide an array of `TypePolicy` objects to the `InMemoryCache` constructor to customize how the cache interacts with specific types in your schema. +To customize how the cache interacts with specific types in your schema, you can provide an object mapping `__typename` strings to `TypePolicy` objects when you create a new `InMemoryCache` object. A `TypePolicy` object can include the following fields: