CreateProductReview
Magento\ReviewGraphQl\Model\Resolver\CreateProductReview
What it does
This GraphQL resolver handles the creation of product reviews through the GraphQL API.
Developers use this class when implementing the createProductReview mutation, allowing customers (or guests if configured) to submit reviews with ratings, nickname, summary, and text for a specific product SKU.
It validates permissions and checks if reviews are enabled before processing the submission.
Public Methods
- resolve()