From d1b7a822e68245be5aebacd55437d226230745d8 Mon Sep 17 00:00:00 2001 From: Jesse Rosenberger Date: Thu, 19 Mar 2020 20:58:40 +0200 Subject: [PATCH] plugins: Same as `source`, `queryHash` is required at `parsingDidStart`. They are defined at the same time, as noted in the referenced link. Ref: https://github.com/apollographql/apollo-server/blob/eadcc6b4/packages/apollo-server-core/src/requestPipeline.ts#L196-L197 --- packages/apollo-server-types/src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/apollo-server-types/src/index.ts b/packages/apollo-server-types/src/index.ts index fed7815a471..969872aca49 100644 --- a/packages/apollo-server-types/src/index.ts +++ b/packages/apollo-server-types/src/index.ts @@ -120,6 +120,7 @@ export type GraphQLRequestContextParsingDidStart = WithRequired, | 'metrics' | 'source' + | 'queryHash' >; export type GraphQLRequestContextValidationDidStart = GraphQLRequestContextParsingDidStart &