graphql playground bad request on heroku

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

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
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})