AEM graphQL syntax doesn't match graphql documentation?
According to pretty much all graphql documentation (read: first 3 pages of google search)
I should be able to use syntax like:
{
hero {
name
}
}
and
{
human(id: "1000") {
name
height
}
}
The first page of https://graphql.org/ has examples like:
However, this syntax, and the majority of the grapql features, simply don't work with AEM for some unknown reason.
AEM wknd has an Content Fragment Model called Adventure with fields with the following property names:
- adventureTitle
- adventureType
- etc.
So I should be able to do this:
{
Adventure {
adventureTitle
}
}
But this doesnt work. The only thing which works is something like:
{
adventureList {
items {
adventureType
adventureTitle
adventurePrice
adventureActivity
}
}
Its using a syntax which doesnt seem to be mentioned in any grapql documentation outside of AEM.
named queries, string comparisons, static parameters, all the documented features and syntax of graphql doesnt seem to work with graphql on AEM.
Is it using its own dialect?