Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move TContext generic from requestDidStart method to ApolloServerPlug…
…in Interface (#3525) This commit provides a new type variable to the `ApolloServerPlugin` interface to support the typing of the `context` variable throughout the lifecycle hooks. Previously, `requestDidStart` was typed in such a way that the `TContext` typing wasn't actually useful. This fix is backwards-compatible for current implementors as it provides a default type to the newly introduced type variable on the `ApolloServerPlugin` interface.
- Loading branch information