Skip to content

category children always empty #3

@pixelfoundry-dev

Description

@pixelfoundry-dev

when i make a query to a category, the children_count is greater than 0 but the children field is always empty.
example of query:

{
  allMagentoCategory {
    edges {
      node {
        children_count
        children {
          ... on magento__category {
            id
            name
          }
        }
      }
    }
  }
}

and the result:

{
  "data": {
    "allMagentoCategory": {
      "edges": [
        {
          "node": {
            "children_count": "21",
            "children": []
          }
        }
      ]
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions