Skip to content

Commit

Permalink
Added additional field from new format
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-knight committed Sep 27, 2023
1 parent 259232a commit 31f0747
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Expand Up @@ -40,6 +40,7 @@ export interface GraphQLExperimentalFormattedSubsequentIncrementalExecutionResul
GraphQLExperimentalFormattedIncrementalResult<TData, TExtensions>
>;
extensions?: TExtensions;
completed?: ReadonlyArray<{ id: string }>;
}

export type GraphQLExperimentalFormattedIncrementalResult<
Expand Down
1 change: 1 addition & 0 deletions packages/server/src/runHttpQuery.ts
Expand Up @@ -369,6 +369,7 @@ function orderSubsequentIncrementalExecutionResultFields(
hasNext: result.hasNext,
incremental: orderIncrementalResultFields(result.incremental),
extensions: result.extensions,
completed: result.completed,
};
}

Expand Down

0 comments on commit 31f0747

Please sign in to comment.