Expand my Community achievements bar.

Graphiql interface is working for only specific path.

Avatar

Level 1

Graphiql interface is working for only specific set of query.

/aem/graphiql.html

 

how to configure to include all the query paths.

4 Replies

Avatar

Level 1

All persistent graphql endpoints are added in the below path

/libs/cq/graphql/sites/admin/content/console.html

 

Only first endpoint queries are added to the Graphiql interface rest are not shown,

 

 

Avatar

Community Advisor

Hi @BowyaRa 

 

Can you please elaborate your issue !!

 

Avatar

Level 1

Hi,
I created a folder called persistentQueries under /conf/{Business Unit}/settings/graphql/persistentQueries(my queries are there) to store all the queries. I used the /aem/graphiql.html interface to add them. Maybe you need to have the same kind of folder persistentQueries.

Please note that some operators only work if the GraphQL model type matches the data type used in the query (e.g., number, string, etc.).

Avatar

Administrator

Hi @BowyaRa,

I hope the response shared above helped address your question. If it did, please mark it as "correct reply"— this helps others in the community find helpful solutions more easily.

If you’re still facing any more challenges, please feel free to continue the conversation here. We’re happy to support further.