@@ -28,6 +28,13 @@ describe("Integration | queries | object", function () {
28
28
server . create ( "test-union-one" , { oneName : "foo" } ) ,
29
29
server . create ( "test-union-two" , { twoName : "bar" } ) ,
30
30
] ;
31
+ const testInterfaces = [
32
+ server . create ( "test-impl-one" , {
33
+ description : "description" ,
34
+ label : "impl" ,
35
+ } ) ,
36
+ server . create ( "test-impl-two" , { label : "impl" } ) ,
37
+ ] ;
31
38
32
39
seedUnassociatedRecords ( server ) ;
33
40
@@ -41,6 +48,7 @@ describe("Integration | queries | object", function () {
41
48
hasManyNonNullField : testOptions ,
42
49
hasManyNestedNonNullField : testOptions ,
43
50
interfaceField : testImpl ,
51
+ interfaceNestedNonNullField : testInterfaces ,
44
52
interfaceNonNullField : testImpl ,
45
53
relayConnectionField : testRelayNodes ,
46
54
relayConnectionFilteredField : testRelayNodes ,
@@ -66,6 +74,10 @@ describe("Integration | queries | object", function () {
66
74
hasManyNonNullField : [ { id : "1" , name : "opt" } ] ,
67
75
hasManyNestedNonNullField : [ { id : "1" , name : "opt" } ] ,
68
76
interfaceField : { id : "1" , label : "impl" } ,
77
+ interfaceNestedNonNullField : [
78
+ { id : "2" , label : "impl" , description : "description" } ,
79
+ { id : "1" , label : "impl" } ,
80
+ ] ,
69
81
interfaceNonNullField : { id : "1" , label : "impl" } ,
70
82
relayConnectionField : {
71
83
edges : [ { cursor : "VGVzdFJlbGF5Tm9kZToy" , node : { id : "2" } } ] ,
0 commit comments