We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d465cf6 commit ccf1004Copy full SHA for ccf1004
.changeset/bright-elephants-act.md
@@ -0,0 +1,5 @@
1
+---
2
+'@as-integrations/hapi': patch
3
4
+
5
+Pass TContext to ApolloServer in HapiApolloPluginOptions
src/index.ts
@@ -22,7 +22,7 @@ export interface HapiContextFunctionArgument {
22
}
23
24
export interface HapiApolloPluginOptions<TContext extends BaseContext> {
25
- apolloServer: ApolloServer;
+ apolloServer: ApolloServer<TContext>;
26
context?: ContextFunction<[HapiContextFunctionArgument], TContext>;
27
path?: string;
28
getRoute?: {
0 commit comments