Skip to content

Commit 0d31e7b

Browse files
benjiesungam3r
authored andcommitted
Input unions: improve accuracy of objection (#645)
* Improve accuracy of statement * Typo Co-Authored-By: Ivan Maximov <[email protected]>
1 parent 40b8d63 commit 0d31e7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rfcs/InputUnion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ The premise of this RFC - GraphQL should contain a polymorphic Input type.
179179

180180
Any data structure that can be modeled with output type polymorphism should be able to be mirrored with Input polymorphism. Minimal transformation of outputs should be required to send a data structure back as inputs.
181181

182-
* Objection: input types and output types are distinct. Output types support aliases and arguments whereas input types do not. Marking an output field as non-nullable is a non-breaking change, but marking an input field as non-nullable is a breaking change.
182+
* Objection: composite input types and composite output types are distinct. Fields on composite output types support aliases and arguments whereas fields on composite input types do not. Marking an output field as non-nullable is a non-breaking change, but marking an input field as non-nullable is a breaking change.
183183

184184
### C) Doesn't inhibit [schema evolution](https://graphql.github.io/graphql-spec/draft/#sec-Validation.Type-system-evolution)
185185

0 commit comments

Comments
 (0)