@@ -174,7 +174,7 @@ export interface ExecutionContext {
174174 abortSignalListener : AbortSignalListener | undefined ;
175175 completed : boolean ;
176176 cancellableStreams : Set < CancellableStreamRecord > | undefined ;
177- propagateErrors : boolean ;
177+ errorPropagation : boolean ;
178178}
179179
180180interface IncrementalContext {
@@ -319,7 +319,7 @@ export function executeQueryOrMutationOrSubscriptionEvent(
319319 return ensureSinglePayload ( result ) ;
320320}
321321
322- function propagateErrors ( operation : OperationDefinitionNode ) : boolean {
322+ function errorPropagation ( operation : OperationDefinitionNode ) : boolean {
323323 const value = getDirectiveValues ( GraphQLOnErrorDirective , operation ) ;
324324
325325 return value ?. action !== ErrorAction . NULL ;
@@ -337,7 +337,7 @@ export function experimentalExecuteQueryOrMutationOrSubscriptionEvent(
337337 : undefined ,
338338 completed : false ,
339339 cancellableStreams : undefined ,
340- propagateErrors : propagateErrors ( validatedExecutionArgs . operation ) ,
340+ errorPropagation : errorPropagation ( validatedExecutionArgs . operation ) ,
341341 } ;
342342 try {
343343 const {
@@ -988,7 +988,7 @@ function handleFieldError(
988988
989989 // If the field type is non-nullable, then it is resolved without any
990990 // protection from errors, however it still properly locates the error.
991- if ( exeContext . propagateErrors && isNonNullType ( returnType ) ) {
991+ if ( exeContext . errorPropagation && isNonNullType ( returnType ) ) {
992992 throw error ;
993993 }
994994
0 commit comments