@@ -1520,15 +1520,15 @@ define arguments or contain references to interfaces and unions, neither of
1520
1520
which is appropriate for use as an input argument . For this reason , input
1521
1521
objects have a separate type in the system .
1522
1522
1523
- **Oneof Input Objects **
1523
+ **OneOf Input Objects **
1524
1524
1525
- Oneof Input Objects are a special variant of Input Objects where the type system
1525
+ OneOf Input Objects are a special variant of Input Objects where the type system
1526
1526
asserts that exactly one of the fields must be set and non -null , all others
1527
1527
being omitted . This is useful for representing situations where an input may be
1528
1528
one of many different options .
1529
1529
1530
1530
When using the type system definition language , the `@oneOf ` directive is used
1531
- to indicate that an Input Object is a Oneof Input Object (and thus requires
1531
+ to indicate that an Input Object is a OneOf Input Object (and thus requires
1532
1532
exactly one of its field be provided):
1533
1533
1534
1534
```graphql
@@ -1539,7 +1539,7 @@ input UserUniqueCondition @oneOf {
1539
1539
}
1540
1540
```
1541
1541
1542
- In schema introspection , the `__Type .oneOf ` field will return {true } for Oneof
1542
+ In schema introspection , the `__Type .oneOf ` field will return {true } for OneOf
1543
1543
Input Objects , and {false } for all other Input Objects .
1544
1544
1545
1545
**Circular References **
@@ -1635,7 +1635,7 @@ is constructed with the following rules:
1635
1635
does not provide a default value , the input object field definition 's default
1636
1636
value should be used .
1637
1637
1638
- Further , if the input object is a Oneof Input Object , the following additional
1638
+ Further , if the input object is a OneOf Input Object , the following additional
1639
1639
rules apply :
1640
1640
1641
1641
- If the input object literal or unordered map does not contain exactly one
@@ -1720,7 +1720,7 @@ input ExampleInputTagged @oneOf {
1720
1720
{"\_\_" } (two underscores).
1721
1721
3. The input field must accept a type where {IsInputType (inputFieldType)}
1722
1722
returns {true }.
1723
- 4. If the Input Object is a Oneof Input Object then :
1723
+ 4. If the Input Object is a OneOf Input Object then :
1724
1724
1. The type of the input field must be nullable .
1725
1725
2. The input field must not have a default value .
1726
1726
3. If an Input Object references itself either directly or through referenced
@@ -1750,7 +1750,7 @@ defined.
1750
1750
the original Input Object .
1751
1751
4. Any non -repeatable directives provided must not already apply to the original
1752
1752
Input Object type .
1753
- 5. If the original Input Object is a Oneof Input Object then :
1753
+ 5. If the original Input Object is a OneOf Input Object then :
1754
1754
1. All fields of the Input Object type extension must be nullable .
1755
1755
2. All fields of the Input Object type extension must not have default
1756
1756
values .
@@ -1974,7 +1974,7 @@ GraphQL implementations that support the type system definition language should
1974
1974
provide the `@specifiedBy ` directive if representing custom scalar definitions .
1975
1975
1976
1976
GraphQL implementations that support the type system definition language should
1977
- provide the `@oneOf ` directive if representing Oneof Input Objects .
1977
+ provide the `@oneOf ` directive if representing OneOf Input Objects .
1978
1978
1979
1979
When representing a GraphQL schema using the type system definition language any
1980
1980
_built -in directive_ may be omitted for brevity .
@@ -2171,7 +2171,7 @@ directive @oneOf on INPUT_OBJECT
2171
2171
```
2172
2172
2173
2173
The `@oneOf ` directive is used within the type system definition language to
2174
- indicate an Input Object is a Oneof Input Object .
2174
+ indicate an Input Object is a OneOf Input Object .
2175
2175
2176
2176
```graphql example
2177
2177
input UserUniqueCondition @oneOf {
0 commit comments