In the current implementation, we return rating_id and rating_value.
It's necessary to return the rating title as well to be used on the storefront.
repo: https://github.com/magento/storefront-product-reviews-ce/
Extend Rating message with "name" value and use in \Magento\ReviewsStorefront\Model\ProductReviewsServer::getProductReviews method
message Rating {
string rating_id = 1;
string value = 2;
string name = 3; // new field
}
In the current implementation, we return rating_id and rating_value.
It's necessary to return the rating title as well to be used on the storefront.
repo: https://github.com/magento/storefront-product-reviews-ce/
Extend Rating message with "name" value and use in \Magento\ReviewsStorefront\Model\ProductReviewsServer::getProductReviews method