@@ -567,7 +567,7 @@ and a final type is produced.
567
567
568
568
ModifiedOutputType(outputType, requiredStatus):
569
569
* If {requiredStatus} is 'required' and {outputType} is not a Non-Nullable type:
570
- * Return Non-Null with an inner type of {outputType}.
570
+ * Return ` Non-Null ` with an inner type of {outputType}.
571
571
* Otherwise if {requiredStatus} is 'optional':
572
572
* If {outputType} is not a Non-Nullable type:
573
573
* Return {outputType}.
@@ -772,9 +772,9 @@ field returned {null}, and the error must be added to the {"errors"} list in
772
772
the response.
773
773
774
774
If the result of resolving a field is {null} (either because the function to
775
- resolve the field returned {null} or because a field error was raised), and that
776
- field is of a ` Non-Null ` type, then a field error is raised. The
777
- error must be added to the {"errors"} list in the response.
775
+ resolve the field returned {null} or because a field error was raised), and
776
+ the {ModifiedOutputType} of that field is of a ` Non-Null ` type, then a field
777
+ error is raised. The error must be added to the {"errors"} list in the response.
778
778
779
779
If the field returns {null} because of a field error which has already been
780
780
added to the {"errors"} list in the response, the {"errors"} list must not be
@@ -783,8 +783,8 @@ field.
783
783
784
784
Since ` Non-Null ` type fields cannot be {null}, field errors are propagated to be
785
785
handled by the parent field. If the parent field may be {null} then it resolves
786
- to {null}, otherwise if it is a ` Non-Null ` type, the field error is further
787
- propagated to its parent field.
786
+ to {null}, otherwise if its {ModifiedOutputType} is a ` Non-Null ` type, the field
787
+ error is further propagated to its parent field.
788
788
789
789
If a ` List ` type wraps a ` Non-Null ` type, and one of the elements of that list
790
790
resolves to {null}, then the entire list must resolve to {null}.
0 commit comments