query queryName($foo: ComplexType, $site: Site = MOBILE) @onQuery { whoever123is: node(id: [123, 456]) { id ... on User @onInlineFragment { field2 { id alias: field1(first: 10, after: $foo) @include(if: $foo) { id ...frag @onFragmentSpread } } field3! field4? requiredField5: field5! requiredSelectionSet(first: 10)! @directive { field } unsetListItemsRequiredList: listField[]! requiredListItemsUnsetList: listField[!] requiredListItemsRequiredList: listField[!]! unsetListItemsOptionalList: listField[]? optionalListItemsUnsetList: listField[?] optionalListItemsOptionalList: listField[?]? multidimensionalList: listField[[[!]!]!]! } ... @skip(unless: $foo) { id } ... { id } } } mutation likeStory @onMutation { like(story: 123) @onField { story { id @onField } } } subscription StoryLikeSubscription( $input: StoryLikeSubscribeInput @onVariableDefinition ) @onSubscription { storyLikeSubscribe(input: $input) { story { likers { count } likeSentence { text } } } } fragment frag on Friend @onFragmentDefinition { foo( size: $size bar: $b obj: { key: "value" block: """ block string uses \""" """ } ) } { unnamed(truthy: true, falsy: false, nullish: null) query } query { __typename }