Skip to content

[GM-833] Add support for APOLLO_KEY; deprecate ENGINE_API_KEY#1851

Merged
JakeDawkins merged 4 commits intomasterfrom
aw/20/3/apollo-key
Mar 30, 2020
Merged

[GM-833] Add support for APOLLO_KEY; deprecate ENGINE_API_KEY#1851
JakeDawkins merged 4 commits intomasterfrom
aw/20/3/apollo-key

Conversation

@zionts
Copy link
Copy Markdown
Contributor

@zionts zionts commented Mar 27, 2020

This supports a more modern name for the API key and adds deprecation
messages for the (now legacy) ENGINE_API_KEY. Much in the same spirit
as #1849, the goal is to modernize our documentation to no longer use the out-of-date name
"engine". This also modifies tests to support the new version and adds a
test that ensures an error is thrown when a user sets both keys.

  • Update CHANGELOG.md* with your change (include reference to issue & this PR)
  • Make sure all of the significant new logic is covered by tests
  • Rebase your changes on master so that they can be merged easily
  • Make sure all tests and linter rules pass
  • Add associated documentation update and associate Apollo Server update

*Make sure changelog entries note which project(s) has been affected. See older entries for examples on what this looks like.

Adam Zionts added 2 commits March 27, 2020 11:27
This supports a more modern name for the API key and adds deprecation
messages for the (now legacy) ENGINE_API_KEY. Much in the same spirit
as #1849, the goal
is to modernize our documentation to no longer use the out-of-date name
"engine". This also modifies tests to support the new version and adds a
test that ensures an error is thrown when a user sets _both_ keys.
Also checks for deprecation warning
@zionts zionts changed the title Aw/20/3/apollo key Add support for APOLLO_KEY; deprecate ENGINE_API_KEY Mar 27, 2020
@zionts zionts requested a review from JakeDawkins March 27, 2020 18:36
@zionts zionts changed the title Add support for APOLLO_KEY; deprecate ENGINE_API_KEY [GM-833] Add support for APOLLO_KEY; deprecate ENGINE_API_KEY Mar 27, 2020
@JakeDawkins JakeDawkins merged commit fe1ec25 into master Mar 30, 2020
@JakeDawkins JakeDawkins deleted the aw/20/3/apollo-key branch March 30, 2020 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants