@@ -42,7 +42,7 @@ type BackwardCompoundsConnection {
4242 " " "
4343 A list of edges which contains the \` BackwardCompound\` and cursor to aid in pagination.
4444 " " "
45- edges: [BackwardCompoundsEdge! ]!
45+ edges: [BackwardCompoundsEdge]!
4646
4747 " " " A list of \` BackwardCompound\` objects." " "
4848 nodes : [BackwardCompound ]!
@@ -99,7 +99,7 @@ type BackwardsConnection {
9999 " " "
100100 A list of edges which contains the \` Backward\` and cursor to aid in pagination.
101101 " " "
102- edges: [BackwardsEdge! ]!
102+ edges: [BackwardsEdge]!
103103
104104 " " " A list of \` Backward\` objects." " "
105105 nodes : [Backward ]!
@@ -140,6 +140,8 @@ enum BackwardsOrderBy {
140140}
141141
142142type Child implements Node {
143+ " " " Reads a single \` Foo\` that is related to this \` Child\` ." " "
144+ fooByFooId : Foo
143145 fooId : Int
144146 id : Int !
145147 name : String !
@@ -163,7 +165,7 @@ type ChildrenConnection {
163165 " " "
164166 A list of edges which contains the \` Child\` and cursor to aid in pagination.
165167 " " "
166- edges: [ChildrenEdge! ]!
168+ edges: [ChildrenEdge]!
167169
168170 " " " A list of \` Child\` objects." " "
169171 nodes : [Child ]!
@@ -186,6 +188,14 @@ type ChildrenEdge {
186188
187189"""Methods to use when ordering \` Child\` ."""
188190enum ChildrenOrderBy {
191+ FOO_BY_FOO_ID__BACKWARD_COMPOUND_1_ASC
192+ FOO_BY_FOO_ID__BACKWARD_COMPOUND_1_DESC
193+ FOO_BY_FOO_ID__FORWARD_COMPOUND_1_ASC
194+ FOO_BY_FOO_ID__FORWARD_COMPOUND_1_DESC
195+ FOO_BY_FOO_ID__FORWARD_ID_ASC
196+ FOO_BY_FOO_ID__FORWARD_ID_DESC
197+ FOO_BY_FOO_ID__ID_ASC
198+ FOO_BY_FOO_ID__ID_DESC
189199 ID_ASC
190200 ID_DESC
191201 NATURAL
@@ -220,6 +230,9 @@ type Foo implements Node {
220230 A globally unique identifier. Can be used in various places throughout the system to identify this single value.
221231 " " "
222232 nodeId: ID!
233+
234+ " " " Reads a single \` Parent\` that is related to this \` Foo\` ." " "
235+ parentByParentId : Parent
223236 parentId : Int
224237}
225238
@@ -245,7 +258,7 @@ type FoosConnection {
245258 " " "
246259 A list of edges which contains the \` Foo\` and cursor to aid in pagination.
247260 " " "
248- edges: [FoosEdge! ]!
261+ edges: [FoosEdge]!
249262
250263 " " " A list of \` Foo\` objects." " "
251264 nodes : [Foo ]!
@@ -289,6 +302,8 @@ enum FoosOrderBy {
289302 ID_ASC
290303 ID_DESC
291304 NATURAL
305+ PARENT_BY_PARENT_ID__ID_ASC
306+ PARENT_BY_PARENT_ID__ID_DESC
292307 PRIMARY_KEY_ASC
293308 PRIMARY_KEY_DESC
294309}
@@ -335,7 +350,7 @@ type ForwardCompoundsConnection {
335350 " " "
336351 A list of edges which contains the \` ForwardCompound\` and cursor to aid in pagination.
337352 " " "
338- edges: [ForwardCompoundsEdge! ]!
353+ edges: [ForwardCompoundsEdge]!
339354
340355 " " " A list of \` ForwardCompound\` objects." " "
341356 nodes : [ForwardCompound ]!
@@ -388,7 +403,7 @@ type ForwardsConnection {
388403 " " "
389404 A list of edges which contains the \` Forward\` and cursor to aid in pagination.
390405 " " "
391- edges: [ForwardsEdge! ]!
406+ edges: [ForwardsEdge]!
392407
393408 " " " A list of \` Forward\` objects." " "
394409 nodes : [Forward ]!
@@ -474,7 +489,7 @@ type ParentsConnection {
474489 " " "
475490 A list of edges which contains the \` Parent\` and cursor to aid in pagination.
476491 " " "
477- edges: [ParentsEdge! ]!
492+ edges: [ParentsEdge]!
478493
479494 " " " A list of \` Parent\` objects." " "
480495 nodes : [Parent ]!
@@ -714,7 +729,11 @@ type Query implements Node {
714729 """The globally unique \` ID\` to be used in selecting a single \` Backward\` ."""
715730 nodeId: ID!
716731 ): Backward
732+
733+ """Get a single \` Backward\` ."""
717734 backwardByFooId(fooId: Int!): Backward
735+
736+ """Get a single \` Backward\` ."""
718737 backwardById(id: Int!): Backward
719738
720739 """Reads a single \` BackwardCompound\` using its globally unique \` ID\` ."""
@@ -724,30 +743,44 @@ type Query implements Node {
724743 """
725744 nodeId: ID!
726745 ): BackwardCompound
746+
747+ """Get a single \` BackwardCompound\` ."""
727748 backwardCompoundByBackwardCompound1AndBackwardCompound2(backwardCompound1: Int!, backwardCompound2: Int!): BackwardCompound
728749
729750 """Reads a single \` Child\` using its globally unique \` ID\` ."""
730751 child(
731752 """The globally unique \` ID\` to be used in selecting a single \` Child\` ."""
732753 nodeId: ID!
733754 ): Child
755+
756+ """Get a single \` Child\` ."""
734757 childById(id: Int!): Child
735758
736759 """Reads a single \` Foo\` using its globally unique \` ID\` ."""
737760 foo(
738761 """The globally unique \` ID\` to be used in selecting a single \` Foo\` ."""
739762 nodeId: ID!
740763 ): Foo
764+
765+ """Get a single \` Foo\` ."""
741766 fooByBackwardCompound1AndBackwardCompound2(backwardCompound1: Int!, backwardCompound2: Int!): Foo
767+
768+ """Get a single \` Foo\` ."""
742769 fooByForwardCompound1AndForwardCompound2(forwardCompound1: Int!, forwardCompound2: Int!): Foo
770+
771+ """Get a single \` Foo\` ."""
743772 fooByForwardId(forwardId: Int!): Foo
773+
774+ """Get a single \` Foo\` ."""
744775 fooById(id: Int!): Foo
745776
746777 """Reads a single \` Forward\` using its globally unique \` ID\` ."""
747778 forward(
748779 """The globally unique \` ID\` to be used in selecting a single \` Forward\` ."""
749780 nodeId: ID!
750781 ): Forward
782+
783+ """Get a single \` Forward\` ."""
751784 forwardById(id: Int!): Forward
752785
753786 """Reads a single \` ForwardCompound\` using its globally unique \` ID\` ."""
@@ -757,6 +790,8 @@ type Query implements Node {
757790 """
758791 nodeId: ID!
759792 ): ForwardCompound
793+
794+ """Get a single \` ForwardCompound\` ."""
760795 forwardCompoundByForwardCompound1AndForwardCompound2(forwardCompound1: Int!, forwardCompound2: Int!): ForwardCompound
761796
762797 """Fetches an object given its globally unique \` ID\` ."""
@@ -775,13 +810,14 @@ type Query implements Node {
775810 """The globally unique \` ID\` to be used in selecting a single \` Parent\` ."""
776811 nodeId: ID!
777812 ): Parent
813+
814+ """Get a single \` Parent\` ."""
778815 parentById(id: Int!): Parent
779816
780817 """
781818 Exposes the root query type nested one level down. This is helpful for Relay 1
782819 which can only query top level fields if they are in a particular form.
783820 """
784821 query: Query!
785- }
786- "
822+ }"
787823` ;
0 commit comments