Skip to content

Commit

Permalink
Update executor
Browse files Browse the repository at this point in the history
  • Loading branch information
yaacovCR committed Oct 26, 2021
1 parent 0a6bf12 commit 359e9cd
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/execution/executor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@ import { isAsyncIterable } from '../jsutils/isAsyncIterable';
import { isIterableObject } from '../jsutils/isIterableObject';
import { resolveAfterAll } from '../jsutils/resolveAfterAll';

import { getVariableValues, getArgumentValues, getDirectiveValues } from './values';
import {
getVariableValues,
getArgumentValues,
getDirectiveValues,
} from './values';
import {
collectFields,
collectSubfields as _collectSubfields,
Expand Down Expand Up @@ -920,7 +924,7 @@ export class Executor {
index++;
continue;
}

this.completeListItemValue(
completedResults,
index++,
Expand Down Expand Up @@ -975,7 +979,9 @@ export class Executor {
return {
initialCount:
// istanbul ignore next (initialCount is required number argument)
typeof stream.initialCount === 'number' ? stream.initialCount : undefined,
typeof stream.initialCount === 'number'
? stream.initialCount
: undefined,
label: typeof stream.label === 'string' ? stream.label : undefined,
};
}
Expand Down

0 comments on commit 359e9cd

Please sign in to comment.