Skip to content

Commit ac3a6ca

Browse files
committed
1 parent 107e9fd commit ac3a6ca

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

spec/Section 6 -- Execution.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -792,14 +792,19 @@ added to the {"errors"} list in the response, the {"errors"} list must not be
792792
further affected. That is, only one error should be added to the errors list per
793793
field.
794794

795-
Since `Non-Null` type fields cannot be {null}, field errors are propagated to be
795+
If the operation provides the `@disableErrorPropagation` directive then
796+
`Non-Null` type fields will become {null} if an error occurs.
797+
798+
If the operation does not provide the `@disableErrorPropagation` directive then
799+
`Non-Null` type fields cannot be {null}, and field errors are propagated to be
796800
handled by the parent field. If the parent field may be {null} then it resolves
797801
to {null}, otherwise if it is a `Non-Null` type, the field error is further
798802
propagated to its parent field.
799803

800804
If a `List` type wraps a `Non-Null` type, and one of the elements of that list
801805
resolves to {null}, then the entire list must resolve to {null}. If the `List`
802-
type is also wrapped in a `Non-Null`, the field error continues to propagate
806+
type is also wrapped in a `Non-Null` and the operation does not provide the
807+
`@disableErrorPropagation` directive, the field error continues to propagate
803808
upwards.
804809

805810
If all fields from the root of the request to the source of the field error

0 commit comments

Comments
 (0)