Level 2
July 8, 2025
Solved
Nested Queries in AEM GraphQL
- July 8, 2025
- 3 replies
- 770 views
Recently, I've encountered two issues while working with AEM GraphQL. I've looked through a lot of documentation but haven't found clear answers, so I’d like to ask here. Thank you in advance.
First issue:
Is it true that AEM GraphQL cannot query Content Fragments from two different models in a single request? Based on what I’ve found so far, it seems like this isn't supported.
Second issue:
AEM GraphQL seems to have syntax limitations when it comes to query logic. For example, I want to perform a search like:
publishTime AND (title OR overview)
But the actual behavior is:
publishTime AND title AND overview
Is there any known solution or workaround for this kind of query structure?
Any help would be greatly appreciated. Thank you!