You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Tests/IntegrationTests/IntegrationTests.SchemaPrint.verified.txt
+13-12Lines changed: 13 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -461,20 +461,21 @@ type BaseConnection {
461
461
"A list of all of the edges returned in the connection."
462
462
edges: [BaseEdge]
463
463
"A list of all of the objects returned in the connection. This is a convenience field provided for quickly exploring the API; rather than querying for \"{ edges { node } }\" when no edge data is needed, this field can be used instead. Note that when clients like Relay need to fetch the \"cursor\" field on the edge to enable efficient pagination, this shortcut cannot be used, and the full \"{ edges { node } } \" version should be used instead."
464
-
items: [Base]
464
+
items: [BaseEntity]
465
465
}
466
466
467
467
"An edge in a connection from an object to another object of type `Base`."
468
468
type BaseEdge {
469
469
"A cursor for use in pagination"
470
470
cursor: String!
471
471
"The item at the end of the edge"
472
-
node: Base
472
+
node: BaseEntity
473
473
}
474
474
475
-
interface Base {
475
+
interface BaseEntity {
476
476
id: ID!
477
477
property: String
478
+
childrenFromBase: [DerivedChild!]!
478
479
childrenFromInterface(
479
480
"Only return edges after the specified cursor."
480
481
after: String,
@@ -489,6 +490,13 @@ interface Base {
489
490
ids: [ID!]): DerivedChildConnection!
490
491
}
491
492
493
+
type DerivedChild {
494
+
id: ID!
495
+
parentId: ID
496
+
property: String
497
+
typedParentId: ID
498
+
}
499
+
492
500
"A connection from an object to a list of objects of type `DerivedChild`."
493
501
type DerivedChildConnection {
494
502
"A count of the total number of objects in this connection, ignoring pagination. This allows a client to fetch the first five objects by passing \"5\" as the argument to `first`, then fetch the total count so it could display \"5 of 83\", for example. In cases where we employ infinite scrolling or don't have an exact count of entries, this field will return `null`."
0 commit comments