Thanks, @BrianKasingli @ChitraMadan for your responses. I'm wondering what might be the reason for this issue where actual queries are getting replaced with Introspection queries. We are creating the persistent queries locally using the postman web version and deploying it using packages. I have not...
Hi,
I noticed that my persistent queries are getting updated with Graphql introspection query. Not sure what the reason could be but this is happening even with untouched old persistent queries as well. Wondering if anyone noticed a similar behavior and share if there is any way to avoid this issu...
Hi @krati_garg I tried putting _references inside items as per suggestion but it's showing an error message as "Validation error of type FieldUndefined: Field '_references' in type 'ProductModel' is undefined @ 'productList/items/_references'". The result of the query is expected and returns a singl...
In my Content Fragment model, I'm using a few Rich Text Fields with Fragment Reference of a particular Content Fragment model type allowed. While fetching the inline references used inside the RTE content, it returns all the fragment references used in any of the Content Fragments and not only used ...
Hi @krati_garg , Yes, we need to pass a few parameters. It seems the Apollo client doesn't provide the option to perform Get request to a persistent query. We were able to consume it using a regular Rest call. Ask is if someone has used the Apollo client to call persistent queries and provide some c...
@Manu_Mathew_ , Apollo client supports automatic persisted queries. AEM has queries already persisted with a given name and does not accept the query passed on by the client which has the list of variables and a hash for the query. Once this is persisted on the server end, further calls from the cli...
Hi,
We are trying to consume the persistent query created in AEM inside the Java backend code using the Apollo Graphql client. The persistent query is working fine directly in the browser as well as Java backend codebase is fetching the result for a normal graphql query with the Post request but s...