File tree 2 files changed +10
-3
lines changed
2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,15 @@ export class GraphQLServerLambda {
83
83
schema : this . executableSchema ,
84
84
tracing : tracing ( event ) ,
85
85
context : apolloContext ,
86
+ cacheControl : this . options . cacheControl ,
87
+ formatError : this . options . formatError ,
88
+ logFunction : this . options . logFunction ,
89
+ rootValue : this . options . rootValue ,
90
+ validationRules : this . options . validationRules ,
91
+ fieldResolver : this . options . fieldResolver ,
92
+ formatParams : this . options . formatParams ,
93
+ formatResponse : this . options . formatResponse ,
94
+ debug : this . options . debug ,
86
95
}
87
96
} )
88
97
return handler ( event , context , callbackFilter )
Original file line number Diff line number Diff line change @@ -82,8 +82,6 @@ export interface LambdaProps {
82
82
options ?: LambdaOptions
83
83
}
84
84
85
- export interface LambdaOptions {
86
- tracing ?: boolean | TracingOptions
87
- uploads ?: UploadOptions
85
+ export interface LambdaOptions extends ApolloServerOptions {
88
86
endpoint ?: string
89
87
}
You can’t perform that action at this time.
0 commit comments