-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed GraphQL Playground with custom configuration in production. (#1495
) * Fixed support for GraphQL Playground with custom configuration in production environments. * Updated logic in `createPlaygroundOptions` to cast the `playground` option to a boolean if it is defined. Fall back to `isDev` logic only if undefined. * Updated unit test for partial graphql playground options to emulate a 'production' environment, mimicking the scenario that was broken before. * Add PR #1495 to CHANGELOG. * Restore partial playground options test when no `NODE_ENV`
- Loading branch information
Showing
3 changed files
with
22 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters