Enable production introspection

This commit is contained in:
Barry Low committed 2018-10-17 22:19:47 -07:00
1 parent fe5b291985
commit b5a3154607
5 files changed
+49 -298

No files matched your search

+1
View File
@@ -52,6 +52,7 @@ export default function createApolloServer(
schema: applyGraphQLMiddleware(schema, ...graphqlMiddlewares),
tracing: true,
cacheControl: true,
introspection: true,
engine: engineKey ? { apiKey: engineKey } : false,
dataSources,
// Resolvers context in POST requests