Hi
I have been working on a graphQuery for a webinar page on our website. The page features 3 slice zones. In slices3, we have a slice which has some nested docs:
Agenda slice -> Date Doc -> Speech Doc -> Speaker Doc
Below is the graphQuery which works to bring back all of the data, down to and including the date doc.
webinar_page {
festival_slices {
...on festival_data {
...festival_dataFields
slices3 {
...on agenda {
variation {
...on default {
primary {
...primaryFields
dates {
date {
...dateFields
timeslots {
...timeslotsFields
}
}
}
}
}
}
}
}
}
}
}
The Speech doc is linked to via a content-relationship field called timeslot, which is a child of the relationship field timeslots.
I've attempted a number of different iterations for fetching the timeslot (Speech Doc), including the one below, but I can't seem to get the query to work.
webinar_page {
festival_slices {
...on festival_data {
...festival_dataFields
slices3 {
...on agenda {
variation {
...on default {
primary {
...primaryFields
dates {
date {
...dateFields
timeslots {
timeslot {
...timeslotFields
}
}
}
}
}
}
}
}
}
}
}
}
Is it possible to have multiple tiers of fetching here? And if so, any idea where I might be going wrong?
Thanks!