saleor-apps-redis_apl/apps/search/graphql/fragments/ProductData.graphql
Lukasz Ostrowski 2cb7e5edee
Improve Search/Algolia mappings (#827)
* parse metadata before sending to algolia

* variants mapping

* extract metadata mapping

* Changeset

* rename field
2023-07-31 12:08:05 +02:00

45 lines
516 B
GraphQL

fragment ProductData on Product {
variants {
id
}
id
name
description
slug
category {
name
parent {
name
parent {
name
parent {
name
parent {
name
}
}
}
}
}
thumbnail {
url
}
attributes {
...ProductAttributesData
}
channelListings {
id
visibleInListings
channel {
slug
currencyCode
}
}
collections {
name
}
metadata {
key
value
}
}