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 e99db4c commit 1677f62Copy full SHA for 1677f62
spec/Section 5 -- Validation.md
@@ -564,6 +564,21 @@ fragment conflictingDifferingResponses on Pet {
564
}
565
```
566
567
+The same is true if a field is designated `Non-Nullable` in an operation. In this
568
+case, `someValue` could be either a `String` or a `String!` which are two different
569
+types and therefor can not be merged:
570
+
571
+```graphql counter-example
572
+fragment conflictingDifferingResponses on Pet {
573
+ ... on Dog {
574
+ someValue: nickname
575
+ }
576
+ ... on Cat {
577
+ someValue: nickname!
578
579
+}
580
+```
581
582
### Leaf Field Selections
583
584
**Formal Specification**
0 commit comments