We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80a5f37 commit 3b0daa0Copy full SHA for 3b0daa0
spec/Section 5 -- Validation.md
@@ -565,6 +565,20 @@ fragment conflictingDifferingResponses on Pet {
565
}
566
```
567
568
+The same is true if a field is designated `Non-Nullable` in an operation. In this
569
+case, `someValue` could be either a `String` or a `String!` which are two different
570
+types and therefor can not be merged:
571
+
572
+```graphql counter-example
573
+fragment conflictingDifferingResponses on Pet {
574
+ ... on Dog {
575
+ someValue: nickname
576
+ }
577
+ ... on Cat {
578
+ someValue: nickname!
579
580
+}
581
+```
582
583
### Leaf Field Selections
584
0 commit comments