Skip to content

Commit

Permalink
Merge pull request #2822 from Pruxis/patch-1
Browse files Browse the repository at this point in the history
[Federation] Add queryHash to GraphQLExecutor
  • Loading branch information
James Baxley authored Jun 12, 2019
2 parents f3dcbb3 + d43e520 commit 858a20e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/apollo-server-core/src/requestPipelineAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export class InvalidGraphQLRequestError extends Error {}
export type GraphQLExecutor<TContext = Record<string, any>> = (
requestContext: WithRequired<
GraphQLRequestContext<TContext>,
'document' | 'operationName' | 'operation'
'document' | 'operationName' | 'operation' | 'queryHash'
>,
) => ValueOrPromise<GraphQLExecutionResult>;

Expand Down

0 comments on commit 858a20e

Please sign in to comment.