@@ -1520,15 +1520,15 @@ define arguments or contain references to interfaces and unions, neither of
15201520which is appropriate for use as an input argument . For this reason , input
15211521objects have a separate type in the system .
15221522
1523- **Oneof Input Objects **
1523+ **OneOf Input Objects **
15241524
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
15261526asserts that exactly one of the fields must be set and non -null , all others
15271527being omitted . This is useful for representing situations where an input may be
15281528one of many different options .
15291529
15301530When 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
15321532exactly one of its field be provided):
15331533
15341534```graphql
@@ -1539,7 +1539,7 @@ input UserUniqueCondition @oneOf {
15391539}
15401540```
15411541
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
15431543Input Objects , and {false } for all other Input Objects .
15441544
15451545**Circular References **
@@ -1635,7 +1635,7 @@ is constructed with the following rules:
16351635 does not provide a default value , the input object field definition 's default
16361636 value should be used .
16371637
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
16391639rules apply :
16401640
16411641- If the input object literal or unordered map does not contain exactly one
@@ -1720,7 +1720,7 @@ input ExampleInputTagged @oneOf {
17201720 {"\_\_" } (two underscores).
17211721 3. The input field must accept a type where {IsInputType (inputFieldType)}
17221722 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 :
17241724 1. The type of the input field must be nullable .
17251725 2. The input field must not have a default value .
172617263. If an Input Object references itself either directly or through referenced
@@ -1750,7 +1750,7 @@ defined.
17501750 the original Input Object .
175117514. Any non -repeatable directives provided must not already apply to the original
17521752 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 :
17541754 1. All fields of the Input Object type extension must be nullable .
17551755 2. All fields of the Input Object type extension must not have default
17561756 values .
@@ -1974,7 +1974,7 @@ GraphQL implementations that support the type system definition language should
19741974provide the `@specifiedBy ` directive if representing custom scalar definitions .
19751975
19761976GraphQL 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 .
19781978
19791979When representing a GraphQL schema using the type system definition language any
19801980_built -in directive_ may be omitted for brevity .
@@ -2171,7 +2171,7 @@ directive @oneOf on INPUT_OBJECT
21712171```
21722172
21732173The `@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 .
21752175
21762176```graphql example
21772177input UserUniqueCondition @oneOf {
0 commit comments