apollo-server/packages/apollo-server-express/src/connectApollo.ts
David Glasser e4a6e873f8 Remove graphiql support
ApolloServer builds in graphql-playground rather than graphiql, so we no longer
provide middleware for serving GraphiQL.

If this turns out to be an unpopular choice, we can always add support for
graphiql instead of graphql-playground back in later.

We prefer graphql-playground because it allows you to enter HTTP request
headers, view query history, and explicitly supports graphql@0.13.
2018-06-13 14:00:51 -07:00

3 lines
97 B
TypeScript

import { graphqlExpress } from './expressApollo';
export const graphqlConnect = graphqlExpress;