System Information
- Strapi Version: 4.10.2
- Operating System: Mac OS 12.6
- Database: SQLite
- Node Version: 16.17.0
- NPM Version:
- Yarn Version: 1.22.19
Hi I’m new to Strapi. I’ve been able to get an instance hosted on Strapi Cloud and I can make graphql queries to it via Postman. However I can’t get the playgroundAlways functionality to work. In [project root directory]/config/plugins.ts
I have tried this syntax:
module.exports = { graphql: { config: { endpoint: "/graphql", shadowCRUD: true, playgroundAlways: true, depthLimit: 7, amountLimit: 100, apolloServer: { tracing: false, introspection: true, }, }, }, };
and also this syntax (not at the same time):
export default { graphql: { enabled: true, config: { endpoint: "/graphql", shadowCRUD: true, playgroundAlways: true, depthLimit: 7, amountLimit: 100, apolloServer: { tracing: false, introspection: true, }, }, }, };
I also found an older post that suggested to use this in [project root directory]/src/extensions/graphql/config/settings.json
:
{ "endpoint": "/graphql", "tracing": false, "shadowCRUD": true, "playgroundAlways": true, "depthLimit": 7, "amountLimit": 100 }
None of them work on my deployed instance. If I go to [deployed site]/graphql
I get a message in the browser “GET query missing.”
Any thoughts would be appreciated!