From 884d25c4edb099a46bffb23ffd935abec7d14f80 Mon Sep 17 00:00:00 2001 From: Rocky Wu Date: Wed, 18 Jan 2023 02:23:53 +0800 Subject: [PATCH] fix: gqlMagicComment type (#8808) * fix: gqlMagicComment type * fix: Add patch changeset --- .changeset/big-mice-switch.md | 5 +++++ packages/utils/plugins-helpers/src/types.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/big-mice-switch.md diff --git a/.changeset/big-mice-switch.md b/.changeset/big-mice-switch.md new file mode 100644 index 00000000000..f9b10720567 --- /dev/null +++ b/.changeset/big-mice-switch.md @@ -0,0 +1,5 @@ +--- +'@graphql-codegen/cli': patch +--- + +fix: `gqlMagicComment` type diff --git a/packages/utils/plugins-helpers/src/types.ts b/packages/utils/plugins-helpers/src/types.ts index 1b8e38741ce..4bb91a48c17 100644 --- a/packages/utils/plugins-helpers/src/types.ts +++ b/packages/utils/plugins-helpers/src/types.ts @@ -505,7 +505,7 @@ export namespace Types { /** * @description Configures the magic GraphQL comments to look for. The default is `GraphQL`. */ - magicComment?: string; + gqlMagicComment?: string; /** * @description Overrides the name of the default GraphQL name identifier. */