17 December 2019
GraphQLProduct catalog
- [GraphQL API] Added the following types to the GraphQL schema:
ReviewRatingStatistics. - [GraphQL API] Changed the
Channeltype:- Added the
reviewRatingStatisticsfield to theChanneltype.
- Added the
- [GraphQL API] Changed the
Producttype:- Added the
reviewRatingStatisticsfield to theProducttype.
- Added the
Introduced the following changes to the GraphQL schema (in SDL format):
extend type Channel {
reviewRatingStatistics: ReviewRatingStatistics
}
extend type Product {
reviewRatingStatistics: ReviewRatingStatistics
}
type ReviewRatingStatistics {
averageRating: Float!
highestRating: Int!
lowestRating: Int!
count: Long!
ratingsDistribution: Json!
}