Storefront GraphQL API Gateway. Modular architecture. ElasticSearch included. Works great with Magento1, Magento2, Spree, OpenCart, Pimcore and custom backends
What is the motivation for adding / enhancing this feature?
Having breadcrumbs generated by the API instead of the frontend app is always a nice optimization. We should move the business logick from vue-storefront for that and create new function inside Product and Category resolvers:
What is the motivation for adding / enhancing this feature?
Having breadcrumbs generated by the API instead of the frontend app is always a nice optimization. We should move the business logick from
vue-storefront
for that and create new function insideProduct
andCategory
resolvers:The schema for breadcrumbs should be like:
breadcrumbs: [CategoryBinding]
The CategoryBinding is defined inside the
Product
type.What are the acceptance criteria
Product.breadcrumbs
andCategory.breadcrumbs
available for query