...

Text file src/github.com/vektah/gqlparser/v2/formatter/testdata/baseline/FormatQueryDocument/comments/fragment.graphql

Documentation: github.com/vektah/gqlparser/v2/formatter/testdata/baseline/FormatQueryDocument/comments

     1# FooBarQuery comment
     2query FooBarQuery ($after: String!) {
     3	# fizzList comment
     4	fizzList(first: 100, after: $after) {
     5		# nodes comment
     6		nodes {
     7			# id comment
     8			id
     9			# FooFragment comment
    10			... FooFragment
    11			# on Foo comment
    12			... on Foo {
    13				# on Foo id comment
    14				id
    15			}
    16			# anonymous Fragment comment
    17			... {
    18				# anonymous Fragment id comment
    19				id
    20			}
    21			# name comment
    22			name
    23		}
    24	}
    25}
    26# fragment FooFragment comment
    27fragment FooFragment on Foo {
    28	# id comment
    29	id
    30}

View as plain text