Skip to content

As a developer, I want to be able to cache reviews by a uid. #36599

@damienwebdev

Description

@damienwebdev

As a developer, I want to store review data in Apollo cache, or perhaps client state like Redux, currently I cannot as the entire object has no ref to key the object by. As such, I'm forced to use something like hash(text) or another awkward pseudo-key.

https://github.com/magento/magento2/blob/2.4-develop/app/code/Magento/ReviewGraphQl/etc/schema.graphqls#L19

type ProductReview @doc(description: "Contains details of a product review.") {
    uid: String! @doc(description: "The unique identifier of the particular product review.") 
}

Metadata

Metadata

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions