File tree Expand file tree Collapse file tree 4 files changed +140
-0
lines changed Expand file tree Collapse file tree 4 files changed +140
-0
lines changed Original file line number Diff line number Diff line change
1
+ type Query {
2
+ allThings (includingArchived : Boolean , first : Int ! ): ThingConnection
3
+ }
4
+
5
+ type ThingConnection {
6
+ pageInfo : PageInfo !
7
+ nodes : [Thing ]
8
+ }
9
+
10
+ type PageInfo {
11
+ startCursor : String
12
+ endCursor : String
13
+ hasNextPage : Boolean
14
+ hasPreviousPage : Boolean
15
+ }
16
+
17
+ interface Thing {
18
+ id : ID !
19
+ name : String
20
+ description : String
21
+ }
22
+
23
+ type Book implements Thing {
24
+ id : ID !
25
+ name : String
26
+ description : String
27
+ pages : Int
28
+ }
29
+
30
+ type Car implements Thing {
31
+ id : ID !
32
+ name : String
33
+ description : String
34
+ mileage : Float
35
+ }
Original file line number Diff line number Diff line change
1
+ type Query {
2
+ allThings (includingArchived : Boolean , first : Int ! ): ThingConnection !
3
+ }
4
+
5
+ type ThingConnection {
6
+ pageInfo : PageInfo !
7
+ nodes : [Thing ! ]!
8
+ }
9
+
10
+ type PageInfo {
11
+ startCursor : String !
12
+ endCursor : String !
13
+ hasNextPage : Boolean !
14
+ hasPreviousPage : Boolean !
15
+ }
16
+
17
+ interface Thing {
18
+ id : ID !
19
+ name : String !
20
+ description : String
21
+ }
22
+
23
+ type Book implements Thing {
24
+ id : ID !
25
+ name : String !
26
+ description : String
27
+ pages : Int !
28
+ }
29
+
30
+ type Car implements Thing {
31
+ id : ID !
32
+ name : String !
33
+ description : String
34
+ mileage : Float !
35
+ }
Original file line number Diff line number Diff line change
1
+ type Query {
2
+ allThings (includingArchived : Boolean , first : Int ! ): ThingConnection
3
+ }
4
+
5
+ type ThingConnection {
6
+ pageInfo : PageInfo !
7
+ nodes : [Thing ]
8
+ }
9
+
10
+ type PageInfo {
11
+ startCursor : String
12
+ endCursor : String
13
+ hasNextPage : Boolean
14
+ hasPreviousPage : Boolean
15
+ }
16
+
17
+ interface Thing {
18
+ id : ID !
19
+ name : String
20
+ description : String
21
+ }
22
+
23
+ type Book implements Thing {
24
+ id : ID !
25
+ name : String
26
+ description : String
27
+ pages : Int
28
+ }
29
+
30
+ type Car implements Thing {
31
+ id : ID !
32
+ name : String
33
+ description : String
34
+ mileage : Float
35
+ }
Original file line number Diff line number Diff line change
1
+ type Query {
2
+ allThings (includingArchived : Boolean , first : Int ! ): ThingConnection !
3
+ }
4
+
5
+ type ThingConnection {
6
+ pageInfo : PageInfo !
7
+ nodes : [Thing ! ]!
8
+ }
9
+
10
+ type PageInfo {
11
+ startCursor : String !
12
+ endCursor : String !
13
+ hasNextPage : Boolean !
14
+ hasPreviousPage : Boolean !
15
+ }
16
+
17
+ interface Thing {
18
+ id : ID !
19
+ name : String !
20
+ description : String
21
+ }
22
+
23
+ type Book implements Thing {
24
+ id : ID !
25
+ name : String !
26
+ description : String
27
+ pages : Int !
28
+ }
29
+
30
+ type Car implements Thing {
31
+ id : ID !
32
+ name : String !
33
+ description : String
34
+ mileage : Float !
35
+ }
You can’t perform that action at this time.
0 commit comments