From 74368fc4b1659b5e099e40271647f78c30bc7cb7 Mon Sep 17 00:00:00 2001 From: nesskazu Date: Wed, 7 Aug 2024 21:33:54 +0900 Subject: [PATCH] add note --- docs/usage_with_relay.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/usage_with_relay.md b/docs/usage_with_relay.md index f976f26f..94a5e0f3 100644 --- a/docs/usage_with_relay.md +++ b/docs/usage_with_relay.md @@ -34,6 +34,10 @@ Modify your `relay.config.js` file to reflect the following: - `schemaConfig` tells the Relay compiler where to find the `nodeId` field on the `node` interface - `customScalarTypes` will improve Relay's type emission +!!! note + + For Relay versions older than v16.2.0, it should be named `customScalars` instead. + ### Configuring your Relay Environment This example uses [Supabase](https://supabase.com) for the GraphQL server, but pg_graphql can be used independently.