File tree 1 file changed +1
-19
lines changed
1 file changed +1
-19
lines changed Original file line number Diff line number Diff line change @@ -1106,27 +1106,9 @@ function mapSourceToResponse(
1106
1106
export function createSourceEventStream (
1107
1107
args : ExecutionArgs ,
1108
1108
) : PromiseOrValue < AsyncIterable < unknown > | ExecutionResult > {
1109
- const {
1110
- schema,
1111
- document,
1112
- rootValue,
1113
- contextValue,
1114
- variableValues,
1115
- operationName,
1116
- subscribeFieldResolver,
1117
- } = args ;
1118
-
1119
1109
// If a valid execution context cannot be created due to incorrect arguments,
1120
1110
// a "Response" with only errors is returned.
1121
- const exeContext = buildExecutionContext ( {
1122
- schema,
1123
- document,
1124
- rootValue,
1125
- contextValue,
1126
- variableValues,
1127
- operationName,
1128
- subscribeFieldResolver,
1129
- } ) ;
1111
+ const exeContext = buildExecutionContext ( args ) ;
1130
1112
1131
1113
// Return early errors if execution context failed.
1132
1114
if ( ! ( 'schema' in exeContext ) ) {
You can’t perform that action at this time.
0 commit comments