From 2cb2b788baeefd5fa3097abad288fab9ed2ec2bb Mon Sep 17 00:00:00 2001 From: David Govea Date: Tue, 28 Feb 2023 12:06:51 -0500 Subject: [PATCH] Minor typo --- packages/plugin-relay/README.md | 2 +- website/pages/docs/plugins/relay.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/plugin-relay/README.md b/packages/plugin-relay/README.md index 5409ffddb..5a7340778 100644 --- a/packages/plugin-relay/README.md +++ b/packages/plugin-relay/README.md @@ -178,7 +178,7 @@ builder.node(NumberThing, { the `Node` interface the first time it is used. The `resolve` function for `id` should return a number or string, which will be converted to a globalID. The relay plugin adds to new query fields `node` and `nodes` which can be used to directly fetch nodes using global IDs by calling the -provided `loadOne` or `laodMany` method. Each node will only be loaded once by id, and cached if the +provided `loadOne` or `loadMany` method. Each node will only be loaded once by id, and cached if the same node is loaded multiple times inn the same request. You can provide `loadWithoutCache` or `loadManyWithoutCache` instead if caching is not desired, or you are already using a caching datasource like a dataloader. diff --git a/website/pages/docs/plugins/relay.mdx b/website/pages/docs/plugins/relay.mdx index f460ca2a5..aa0f38fe0 100644 --- a/website/pages/docs/plugins/relay.mdx +++ b/website/pages/docs/plugins/relay.mdx @@ -192,7 +192,7 @@ builder.node(NumberThing, { the `Node` interface the first time it is used. The `resolve` function for `id` should return a number or string, which will be converted to a globalID. The relay plugin adds to new query fields `node` and `nodes` which can be used to directly fetch nodes using global IDs by calling the -provided `loadOne` or `laodMany` method. Each node will only be loaded once by id, and cached if the +provided `loadOne` or `loadMany` method. Each node will only be loaded once by id, and cached if the same node is loaded multiple times inn the same request. You can provide `loadWithoutCache` or `loadManyWithoutCache` instead if caching is not desired, or you are already using a caching datasource like a dataloader.