We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfbc023 commit b76e38cCopy full SHA for b76e38c
src/execution/execute.ts
@@ -170,7 +170,7 @@ export function execute(args: ExecutionArgs): PromiseOrValue<ExecutionResult> {
170
const exeContext = buildExecutionContext(args);
171
172
// Return early errors if execution context failed.
173
- if (!('schema' in exeContext)) {
+ if (Array.isArray(exeContext)) {
174
return { errors: exeContext };
175
}
176
@@ -1090,7 +1090,7 @@ export function createSourceEventStream(
1090
1091
1092
1093
1094
1095
1096
0 commit comments