Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yaacovCR committed Jun 6, 2021
1 parent 84b2657 commit b268b87
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/execution/execute.ts
Expand Up @@ -106,7 +106,7 @@ export interface ExecutionContext {
errors: Array<GraphQLError>;
}

export type GraphQLFieldExecutor = (
export type GraphQLFieldExecutor = (
exeContext: ExecutionContext,
parentType: GraphQLObjectType,
source: unknown,
Expand Down Expand Up @@ -282,6 +282,7 @@ export function buildExecutionContext(
fieldExecutor?: Maybe<GraphQLFieldExecutor>,
): ReadonlyArray<GraphQLError> | ExecutionContext {
let operation: OperationDefinitionNode | undefined;

const fragments: ObjMap<FragmentDefinitionNode> = Object.create(null);
for (const definition of document.definitions) {
switch (definition.kind) {
Expand Down

0 comments on commit b268b87

Please sign in to comment.