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