...

Text file src/github.com/vektah/gqlparser/v2/formatter/testdata/source/query/fragment.graphql

Documentation: github.com/vektah/gqlparser/v2/formatter/testdata/source/query

     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
    27# fragment FooFragment comment
    28fragment FooFragment on Foo {
    29    # id comment
    30    id
    31}

View as plain text