@@ -1570,10 +1570,10 @@ objects have a separate type in the system.
1570
1570
1571
1571
**OneOf Input Objects **
1572
1572
1573
- OneOf Input Objects are a special variant of Input Objects where the type system
1574
- asserts that exactly one of the fields must be set and non -null , all others
1575
- being omitted . This is useful for representing situations where an input may be
1576
- one of many different options .
1573
+ :: A _OneOf Input Object_ is a special variant of Input Object where the type
1574
+ system asserts that exactly one of the fields must be set and non -null , all
1575
+ others being omitted . This is useful for representing situations where an input
1576
+ may be one of many different options .
1577
1577
1578
1578
When using the type system definition language , the `@oneOf ` directive is used
1579
1579
to indicate that an Input Object is a OneOf Input Object (and thus requires
@@ -1683,7 +1683,7 @@ is constructed with the following rules:
1683
1683
variable definition does not provide a default value , the input object field
1684
1684
definition 's default value should be used .
1685
1685
1686
- Further , if the input object is a OneOf Input Object , the following additional
1686
+ Further , if the input object is a _OneOf Input Object_ , the following additional
1687
1687
rules apply :
1688
1688
1689
1689
- If the input object literal or unordered map does not contain exactly one
@@ -1779,7 +1779,7 @@ input ExampleOneOfInputObject @oneOf {
1779
1779
returns {true }.
1780
1780
4. If input field type is Non -Null and a default value is not defined :
1781
1781
1. The `@deprecated ` directive must not be applied to this input field .
1782
- 5. If the Input Object is a OneOf Input Object then :
1782
+ 5. If the Input Object is a _OneOf Input Object_ then :
1783
1783
1. The type of the input field must be nullable .
1784
1784
2. The input field must not have a default value .
1785
1785
3. If an Input Object references itself either directly or through referenced
@@ -1811,7 +1811,7 @@ defined.
1811
1811
Input Object type .
1812
1812
5. The `@oneOf ` directive must not be provided by an Input Object type
1813
1813
extension .
1814
- 6. If the original Input Object is a OneOf Input Object then :
1814
+ 6. If the original Input Object is a _OneOf Input Object_ then :
1815
1815
1. All fields of the Input Object type extension must be nullable .
1816
1816
2. All fields of the Input Object type extension must not have default
1817
1817
values .
0 commit comments