GraphQL introspection is disabled on default due to security reasons. Unfortunately i didn't find any documentation on how to enable it.
Apparently there is the environment variable "_APP_GRAPHQL_INTROSPECTION=1" which I added to the .env file. But when i check if the variable is valid after restarting the dockers with the "docker compose exec appwrite vars" command, its not appearing so I guess it doesnt work like that which is not a big surprise since it isnt mentioned in the docs.
Postman is therefore also still complaining that introspection is not allowed when I try to retrieve a schema.
Im sorry I am quite new to this topic:) and there isnt much helpful information on the web about that specific problem
did you run docker compose up -d
Apparently there is the environment variable "_APP_GRAPHQL_INTROSPECTION=1" Where did you see that? 🧐
yes I did
Yeah sorry that was bing chat being funny.. I also couldnt find it in its linked sources.
The fact that I dont find anything helpful about enabling GraphQL introspection on Appwrite lets me believe that at this point in time there introspection is just not available in general right?
Check compose file use for dev
And try altair ?
It would be _APP_OPTIONS_ABUSE
.
Strange but yes I test and confirm it
Yes, it works<:appwriterocket:823996226894692403> Thanks very much guys<:appwritepeepo:902865250427215882>
[SOLVED] Enable GraphQL introspection
Solution Summary: In order to allow GraphQL introspection -> the environment variable _APP_OPTIONS_ABUSE has to be manually disabled
Recommended threads
- Query.select() vs GraphQL
Hi, I am quite new in the Appwrite environment and could someone lighten me up on what is the difference between request with GraphQL and Query.select() it seem...
- Question regarding GraphQL the Apple SDK
New to using AppWrite and have been trying to get started with using graphQL as it is my preferred way of querying data. I noticed that there doesn't seem to be...
- Help for GraphQL with Flutter
Hello everyone. I would like to know if someone can provide me with an example of using the GraphQL API with Flutter for example to list all the documents in a ...