I need to enable GraphQL introspection in a production configuration of Strapi v4. In accordance with the documentation, I’ve tried to add this configuration to config/plugins.js
and it’s seems to have made no difference. It hasn’t even enabled the playground in the production build. What am I doing wrong?
module.exports = {
graphql: {
config: {
endpoint: '/graphql',
shadowCRUD: true,
playgroundAlways: true,
depthLimit: 7,
amountLimit: 100,
apolloServer: {
tracing: false,
introspection: true
}
}
}
};