|
|
|
|
|
by bern4444
1112 days ago
|
|
It is not infinitely recursive. It supports nested structures as you show but only up to a predefined depth. IE: fragment CategoriesRecursive on Category {
subcategories {
...SubcategoryFields
subcategories {
...SubcategoryFields
subcategories {
...SubcategoryFields
}
}
}
}
So you have to build your schema with a maximum supported depth. This is not infinitely recursive which is a limitation of the GQL type system. |
|