-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Product review schema with descriptions. #298
Conversation
Co-Authored-By: Alex Paliarush <paliarus@adobe.com>
Co-Authored-By: Alex Paliarush <paliarus@adobe.com>
Co-Authored-By: Alex Paliarush <paliarus@adobe.com>
Co-Authored-By: Alex Paliarush <paliarus@adobe.com>
Co-Authored-By: Alex Paliarush <paliarus@adobe.com>
Co-Authored-By: Alex Paliarush <paliarus@adobe.com>
Co-Authored-By: Alex Paliarush <paliarus@adobe.com>
Co-Authored-By: Alex Paliarush <paliarus@adobe.com>
Co-Authored-By: Alex Paliarush <paliarus@adobe.com>
Co-Authored-By: Alex Paliarush <paliarus@adobe.com>
Co-Authored-By: Alex Paliarush <paliarus@adobe.com>
Co-Authored-By: Alex Paliarush <paliarus@adobe.com>
Co-Authored-By: Alex Paliarush <paliarus@adobe.com>
Co-Authored-By: Alex Paliarush <paliarus@adobe.com>
Co-Authored-By: Alex Paliarush <paliarus@adobe.com>
Co-Authored-By: Alex Paliarush <paliarus@adobe.com>
|
||
type ProductReviewRating { | ||
name: String! @doc(description: "The review rating name for example quality, price.") | ||
value: Int! @doc(description: "The rating value given by customer. Possible values by default: 1 to 5.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is "value", in relation to the metadata? Probably should be "string".
Then how can client render "stars"? Like, does "good" mean 1 star or 5 stars?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I think you are right.
@nrkapoor please change it and then we can merge the PR.
GraphQL schema for product reviews and ratings GraphQL functionality.