...

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

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

     1# before schema description comment
     2"schema description"
     3# after schema description comment
     4schema {
     5  # before query comment
     6	query: TopQuery
     7  # before mutation comment
     8	mutation: TopMutation
     9  # before subscription comment
    10	subscription: TopSubscription
    11  # end of schema comment
    12}
    13
    14type TopMutation {
    15    noop: Boolean
    16    noop2("""
    17      noop2 foo bar
    18      """
    19      arg: String
    20    ): Boolean
    21    noop3("noop3 foo bar"
    22      arg: String
    23    ): Boolean
    24}
    25
    26type TopQuery {
    27      noop: Boolean
    28
    29      noop2("""
    30        noop2 foo bar
    31        """
    32        arg: String
    33      ): Boolean
    34
    35      noop3(
    36        "noop3 foo bar"
    37        arg: String
    38      ): Boolean
    39}
    40
    41type TopSubscription {
    42      noop: Boolean
    43
    44      noop2(
    45        """noop2 foo bar"""
    46        arg: String
    47      ): Boolean
    48
    49      noop3(
    50        "noop3 foo bar"
    51        arg1: String
    52
    53        "noop3 foo bar"
    54        arg2: String
    55      ): Boolean
    56}
    57# end of file comment
    58# end of file comment 2

View as plain text