mirror of
https://github.com/vale981/apollo-server
synced 2025-03-05 09:41:40 -05:00
Don't ever allow requestOptions
to be undefined
.
This commit is contained in:
parent
f1bc734377
commit
98d4fc3674
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ const NoIntrospection = (context: ValidationContext) => ({
|
|||
export class ApolloServerBase {
|
||||
public subscriptionsPath?: string;
|
||||
public graphqlPath: string = '/graphql';
|
||||
public requestOptions: Partial<GraphQLOptions<any>>;
|
||||
public requestOptions: Partial<GraphQLOptions<any>> = Object.create(null);
|
||||
|
||||
private context?: Context | ContextFunction;
|
||||
private engineReportingAgent?: EngineReportingAgent;
|
||||
|
|
Loading…
Add table
Reference in a new issue