graphql playground bad request on heroku

Solutions on MaxInterview for graphql playground bad request on heroku by the best coders in the world

showing results for - "graphql playground bad request on heroku"
Cécile
13 Jun 2019
1export const server = new ApolloServer({
2  schema: applyMiddleware(makeExecutableSchema({ typeDefs, resolvers })),
3  uploads: false,
4  introspection: true,
5  playground: true,
6  formatError: ({ message, positions, originalError }) => ({ message, positions, originalError }),
7  formatResponse: ({ data, errors, http }) => ({ data, errors, http })
8})