File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,12 @@ export interface GraphQLArgs {
66
66
operationName ?: Maybe < string > ;
67
67
fieldResolver ?: Maybe < GraphQLFieldResolver < any , any > > ;
68
68
typeResolver ?: Maybe < GraphQLTypeResolver < any , any > > ;
69
+ /**
70
+ * Set to `false` to disable error propagation. Experimental.
71
+ *
72
+ * @experimental
73
+ */
74
+ errorPropagation ?: boolean ;
69
75
}
70
76
71
77
export function graphql ( args : GraphQLArgs ) : Promise < ExecutionResult > {
@@ -106,6 +112,7 @@ function graphqlImpl(args: GraphQLArgs): PromiseOrValue<ExecutionResult> {
106
112
operationName,
107
113
fieldResolver,
108
114
typeResolver,
115
+ errorPropagation,
109
116
} = args ;
110
117
111
118
// Validate Schema
@@ -138,5 +145,6 @@ function graphqlImpl(args: GraphQLArgs): PromiseOrValue<ExecutionResult> {
138
145
operationName,
139
146
fieldResolver,
140
147
typeResolver,
148
+ errorPropagation,
141
149
} ) ;
142
150
}
You can’t perform that action at this time.
0 commit comments