Questions tagged [graphql-config]

2 questions
0
votes
1 answer

How to disable strapi graphql playground on production mode

I've added this snippet into ./config/plugins.js module.exports = { graphql: { enabled: true, config: { endpoint: "/graphql", shadowCRUD: true, playgroundAlways: process.env.NODE_ENV === "development", depthLimit:…
Sarah Diba
  • 87
  • 1
  • 9
0
votes
1 answer

Cannot read property 'authorization' of undefined

Please don't mark this question as 'duplicate'. I found similar questions elsewhere but couldn't find any proper solution. When I use the context inside the GraphQLModule in Nestjs app configuration I never find the req. When I console this req it…
Shamim
  • 635
  • 2
  • 12
  • 28