...

Text file src/github.com/vektah/gqlparser/v2/formatter/testdata/baseline/FormatSchemaDocument/comments/schema.graphql

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

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

View as plain text