I would like to query a collection group within a collection group. I can successfully get the root level information for the nested collection group but cannot get the 'data' for nested collection group
Instead of just calling all the fields in the silhouette or model custom types, you need to enter the slices node, if the fields are in a Slice of coure. For example:
graphQuery: `{
brand {
label
link {
... on brand {
...brandFields
}
}
subcategories {
category {
... on model {
slices {
... on contact_slice {
variation {
... on default {
items {
name
}
}
}
}
}
}
}
}
}
}
The fields are not in a slice. Its a custom document with no slices. The slices will be added to another custom document. Is there a way to get the data from the document?