Enable introspection

This commit is contained in:
Trevor Blades
2018-10-12 00:31:32 -04:00
parent 29d111d048
commit 270baf8094

View File

@@ -13,6 +13,7 @@ function toArray(object) {
const server = new ApolloServer({
typeDefs,
resolvers,
introspection: true,
playground: true,
context: {
continents: Object.entries(continents).map(([code, name]) => ({