File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1161,10 +1161,11 @@ Unions are never valid inputs.
1161
1161
1162
1162
Union types have the potential to be invalid if incorrectly defined.
1163
1163
1164
- 1 . The member types of a Union type must all be Object base types;
1164
+ 1 . A Union type must include one or more member types.
1165
+ 2 . The member types of a Union type must all be Object base types;
1165
1166
Scalar, Interface and Union types must not be member types of a Union.
1166
1167
Similarly, wrapping types must not be member types of a Union.
1167
- 2 . A Union type must define one or more unique member types.
1168
+ 3 . A Union type must define one or more unique member types.
1168
1169
1169
1170
1170
1171
### Union Extensions
@@ -1359,7 +1360,7 @@ Literal Value | Variables | Coerced Value
1359
1360
1360
1361
**Type Validation **
1361
1362
1362
- 1. An Input Object type must define one or more fields .
1363
+ 1. An Input Object type must define one or more input fields .
1363
1364
2. The fields of an Input Object type must have unique names within that
1364
1365
Input Object type ; no two fields may share the same name .
1365
1366
3. The return types of each defined field must be an Input type .
You can’t perform that action at this time.
0 commit comments