We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84b2657 commit b268b87Copy full SHA for b268b87
src/execution/execute.ts
@@ -106,7 +106,7 @@ export interface ExecutionContext {
106
errors: Array<GraphQLError>;
107
}
108
109
-export type GraphQLFieldExecutor = (
+ export type GraphQLFieldExecutor = (
110
exeContext: ExecutionContext,
111
parentType: GraphQLObjectType,
112
source: unknown,
@@ -282,6 +282,7 @@ export function buildExecutionContext(
282
fieldExecutor?: Maybe<GraphQLFieldExecutor>,
283
): ReadonlyArray<GraphQLError> | ExecutionContext {
284
let operation: OperationDefinitionNode | undefined;
285
+
286
const fragments: ObjMap<FragmentDefinitionNode> = Object.create(null);
287
for (const definition of document.definitions) {
288
switch (definition.kind) {
0 commit comments