From 4e709fe95e9b92cd6daa7669b636928bc651410c Mon Sep 17 00:00:00 2001 From: Yaacov Rydzinski Date: Sun, 8 Sep 2024 22:44:44 +0300 Subject: [PATCH] update comments re: fragment variables/arguments --- src/language/ast.ts | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/language/ast.ts b/src/language/ast.ts index dd0d429329..5755d896d7 100644 --- a/src/language/ast.ts +++ b/src/language/ast.ts @@ -229,11 +229,18 @@ export const QueryDocumentKeys: { NonNullAssertion: ['nullabilityAssertion'], ErrorBoundary: ['nullabilityAssertion'], - FragmentSpread: ['name', 'arguments', 'directives'], + FragmentSpread: [ + 'name', + // Note: Fragment arguments are experimental and may be changed or removed + // in the future. + 'arguments', + 'directives', + ], InlineFragment: ['typeCondition', 'directives', 'selectionSet'], FragmentDefinition: [ 'name', - // Note: fragment variable definitions are deprecated and will removed in v17.0.0 + // Note: Fragment variables are experimental and may be changed or removed + // in the future. 'variableDefinitions', 'typeCondition', 'directives',