Skip to content

Commit e614f8f

Browse files
authored
update comments regarding fragment arguments and variables (#4184)
1 parent 1bb48ae commit e614f8f

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/language/ast.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,11 +229,18 @@ export const QueryDocumentKeys: {
229229
NonNullAssertion: ['nullabilityAssertion'],
230230
ErrorBoundary: ['nullabilityAssertion'],
231231

232-
FragmentSpread: ['name', 'arguments', 'directives'],
232+
FragmentSpread: [
233+
'name',
234+
// Note: Fragment arguments are experimental and may be changed or removed
235+
// in the future.
236+
'arguments',
237+
'directives',
238+
],
233239
InlineFragment: ['typeCondition', 'directives', 'selectionSet'],
234240
FragmentDefinition: [
235241
'name',
236-
// Note: fragment variable definitions are deprecated and will removed in v17.0.0
242+
// Note: Fragment variables are experimental and may be changed or removed
243+
// in the future.
237244
'variableDefinitions',
238245
'typeCondition',
239246
'directives',

0 commit comments

Comments
 (0)