apollo-server/packages/apollo-server-express/src
Jim (_nderscore) 412be208c1 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`
2018-08-14 10:43:52 -07:00
..
__tests__ Fixed GraphQL Playground with custom configuration in production. (#1495) 2018-08-14 10:43:52 -07:00
ApolloServer.ts express, koa: don't continue past playground render (#1436) 2018-07-27 17:13:23 -07:00
connectApollo.ts Remove graphiql support 2018-06-13 14:00:51 -07:00
expressApollo.ts CDN cache-control headers (#1138) 2018-06-21 13:29:14 -07:00
index.ts Fix and Export Extension and Playground Types (#1360) 2018-07-16 15:49:20 -07:00