Skip to content

Commit

Permalink
update comments regarding fragment arguments and variables (#4184)
Browse files Browse the repository at this point in the history
  • Loading branch information
yaacovCR authored Sep 9, 2024
1 parent 1bb48ae commit e614f8f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/language/ast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit e614f8f

Please sign in to comment.