Model
Hydrator
Magento\CatalogGraphQl\Model\Category\Hydrator
What it does
This class converts Magento Category model objects into flat array structures suitable for GraphQL API responses.
Developers use this when building GraphQL category queries to transform database category entities into the format expected by GraphQL resolvers, including encoding category IDs as UIDs and flattening custom attributes.
Public Methods
- hydrateCategory()