Open sheinid opened 6 months ago
productCategories query not returning subcategories
To Reproduce
query GetProductCategories { productCategories(where: {parent: 0}) { nodes { slug name children { nodes { name slug } } } } }
Expected behavior The api should return subcategories in children field.
Screenshots The query and the response.
The list of categories
Desktop:
Plugin Versions
Additional context It worked before, but one day it just stopped to retrieve the subcategories of productCategories.
@sheinid Upgrade to WooGraphQL v0.19.0.
productCategories query not returning subcategories
To Reproduce
Expected behavior The api should return subcategories in children field.
Screenshots The query and the response.![image](https://github.com/wp-graphql/wp-graphql-woocommerce/assets/42648467/c5c463e6-4bf9-42fd-8b3a-f2768914f592)
The list of categories![image](https://github.com/wp-graphql/wp-graphql-woocommerce/assets/42648467/ff9b1716-f1bf-47cd-8f95-1437ed61b501)
Desktop:
Plugin Versions
Additional context It worked before, but one day it just stopped to retrieve the subcategories of productCategories.