File: schema.graphql

package info (click to toggle)
golang-github-vektah-gqlparser 2.5.31-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,120 kB
  • sloc: javascript: 204; sh: 46; makefile: 11
file content (58 lines) | stat: -rw-r--r-- 956 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# before schema description comment
"schema description"
# after schema description comment
schema {
  # before query comment
	query: TopQuery
  # before mutation comment
	mutation: TopMutation
  # before subscription comment
	subscription: TopSubscription
  # end of schema comment
}

type TopMutation {
    noop: Boolean
    noop2("""
      noop2 foo bar
      """
      arg: String
    ): Boolean
    noop3("noop3 foo bar"
      arg: String
    ): Boolean
}

type TopQuery {
      noop: Boolean

      noop2("""
        noop2 foo bar
        """
        arg: String
      ): Boolean

      noop3(
        "noop3 foo bar"
        arg: String
      ): Boolean
}

type TopSubscription {
      noop: Boolean

      noop2(
        """noop2 foo bar"""
        arg: String
      ): Boolean

      noop3(
        "noop3 foo bar"
        arg1: String

        "noop3 foo bar"
        arg2: String
      ): Boolean
}
# end of file comment
# end of file comment 2