Closed
Description
Category query does not return correct response when using fragments
Steps to reproduce:
- Create some categories
- Run Query:
{
categoryList(filters: {ids: {eq: "10"}}) {
... on CategoryTree {
id
name
url_path
}
}
}
Actual Response:
{
"data": {
"categoryList": [
{
"id": 10,
"name": null,
"url_path": null
}
]
}
}
Expected response (should match response without using fragment)
{
"data": {
"categoryList": [
{
"id": 10,
"name": "Sweaters",
"url_path": "venia-tops/venia-sweaters"
}
]
}
}