Skip to content

Allow schema reporting via environment variable#4206

Merged
jsegaran merged 3 commits into
masterfrom
jsegaran/schema_report_env_var
Jun 10, 2020
Merged

Allow schema reporting via environment variable#4206
jsegaran merged 3 commits into
masterfrom
jsegaran/schema_report_env_var

Conversation

@jsegaran

@jsegaran jsegaran commented Jun 4, 2020

Copy link
Copy Markdown
Contributor

Allow enabling schema reporting via setting APOLLO_SCHEMA_REPORTING to true.

@jsegaran jsegaran requested a review from zionts June 4, 2020 22:32
@jsegaran jsegaran force-pushed the jsegaran/schema_report_env_var branch from 2d613cf to 7a7dbdd Compare June 4, 2020 22:37
@jsegaran jsegaran requested a review from abernix June 4, 2020 22:38


if (options.experimental_schemaReporting !== undefined) {
this.schemaReport = options.experimental_schemaReporting;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we also add an options.schemaReporting as well and deprecate the old one, or do you want to do that in another PR?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather deprecate the field in a different PR. I think it should be in 2.15

@zionts zionts left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm :) + wanna add the GM- ticket in the desc?

@abernix abernix left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think with a CHANGELOG.md, this is good to go!

@jsegaran jsegaran force-pushed the jsegaran/schema_report_env_var branch from 65607b3 to 4c41abc Compare June 10, 2020 23:21
@jsegaran jsegaran merged commit 6b342ca into master Jun 10, 2020
@abernix abernix added this to the Release 2.14.4 milestone Jun 12, 2020
@abernix abernix deleted the jsegaran/schema_report_env_var branch July 1, 2020 20:45
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Apr 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants