graphql-boilerplates/node-graphql-server

Enabled debug by default

marktani opened this issue · 2 comments

Enabled debug by default

There will be a second debug option (from apollo-server options) in the next yoga release. So if you want to enable debug by default, you should also consider that option.

I added debug: true like this:

    db: new Graphcool({
      typeDefs: 'src/generated/graphcool.graphql',
      endpoint: '__GRAPHCOOL_ENDPOINT__',
      secret: 'mysecret123',
      debug: true,
    }),

Do you see a downside of this compared to the apollo-server option?