From 07907ea2af9838637738ae621c219f6c8e9d877f Mon Sep 17 00:00:00 2001 From: Jerel Miller Date: Thu, 12 Dec 2024 16:25:27 -0700 Subject: [PATCH] Fix incorrect config for client preset in docs (#12218) --- docs/source/data/fragments.mdx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/source/data/fragments.mdx b/docs/source/data/fragments.mdx index 3a9627fe64c..0faf4fcca73 100644 --- a/docs/source/data/fragments.mdx +++ b/docs/source/data/fragments.mdx @@ -1156,10 +1156,12 @@ const config: CodegenConfig = { // ... // disables the incompatible GraphQL Codegen fragment masking feature fragmentMasking: false, - inlineFragmentTypes: "mask", customDirectives: { apolloUnmask: true } + }, + config: { + inlineFragmentTypes: "mask", } } }