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: docs/rules/relay-edge-types.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,8 +9,8 @@ Set of rules to follow Relay specification for Edge types.
9
9
10
10
- A type that is returned in list form by a connection type's `edges` field is considered by this spec to be an Edge type
11
11
- Edge type must be an Object type
12
-
- Edge type must contain a field `node` that return either a Scalar, Enum, Object, Interface, Union, or a non-null wrapper around one of those types. Notably, this field cannot return a list
13
-
- Edge type must contain a field `cursor` that return a String, Scalar, or a non-null wrapper wrapper around one of those types
12
+
- Edge type must contain a field `node` that return either Scalar, Enum, Object, Interface, Union, or a non-null wrapper around one of those types. Notably, this field cannot return a list
13
+
- Edge type must contain a field `cursor` that return either String, Scalar, or a non-null wrapper around one of those types
14
14
- Edge type name must end in "Edge" _(optional)_
15
15
- Edge type's field `node` must implement `Node` interface _(optional)_
16
16
- A list type should only wrap an edge type _(optional)_
"- A type that is returned in list form by a connection type's `edges` field is considered by this spec to be an Edge type",
73
73
'- Edge type must be an Object type',
74
-
'- Edge type must contain a field `node` that return either a Scalar, Enum, Object, Interface, Union, or a non-null wrapper around one of those types. Notably, this field cannot return a list',
75
-
'- Edge type must contain a field `cursor` that return a String, Scalar, or a non-null wrapper wrapper around one of those types',
74
+
'- Edge type must contain a field `node` that return either Scalar, Enum, Object, Interface, Union, or a non-null wrapper around one of those types. Notably, this field cannot return a list',
75
+
'- Edge type must contain a field `cursor` that return either String, Scalar, or a non-null wrapper around one of those types',
76
76
'- Edge type name must end in "Edge" _(optional)_',
77
77
"- Edge type's field `node` must implement `Node` interface _(optional)_",
78
78
'- A list type should only wrap an edge type _(optional)_',
0 commit comments