Skip to content

Commit

Permalink
Check undefined for overrideReportedSchema
Browse files Browse the repository at this point in the history
  • Loading branch information
sachindshinde committed Jun 15, 2020
1 parent 1754597 commit bf8f4fe
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/apollo-engine-reporting/src/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -679,10 +679,9 @@ export class EngineReportingAgent<TContext = any> {
executableSchema: string;
}) {
this.logger.info('Starting schema reporter...');
this.logger.info(`Schema reporting override is ${
this.options.experimental_overrideReportedSchema ?
'enabled' : 'disabled'
}`);
if (this.options.experimental_overrideReportedSchema !== undefined) {
this.logger.info('Schema to report has been overridden');
}
if (this.options.experimental_schemaReportingInitialDelayMaxMs !== undefined) {
this.logger.info(`Schema reporting max initial delay override: ${
this.options.experimental_schemaReportingInitialDelayMaxMs
Expand Down

0 comments on commit bf8f4fe

Please sign in to comment.