Skip to content
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

Merged
merged 20 commits into from
Oct 28, 2019
Merged

Conversation

nrkapoor
Copy link
Contributor

@nrkapoor nrkapoor commented Sep 27, 2019

GraphQL schema for product reviews and ratings GraphQL functionality.

@magento-cicd2
Copy link

magento-cicd2 commented Sep 27, 2019

CLA assistant check
All committers have signed the CLA.

@paliarush paliarush requested review from akaplya and removed request for akaplya September 27, 2019 17:01
nrkapoor and others added 16 commits September 27, 2019 12:58
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>
@paliarush paliarush self-requested a review October 2, 2019 15:15
@paliarush paliarush assigned paliarush and unassigned akaplya Oct 2, 2019
@paliarush paliarush requested a review from akaplya October 2, 2019 15:16
@paliarush paliarush mentioned this pull request Oct 2, 2019
@paliarush paliarush mentioned this pull request Oct 9, 2019

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.")
Copy link
Contributor

@buskamuza buskamuza Oct 9, 2019

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?

Copy link
Contributor

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.

@paliarush paliarush merged commit 832d6d4 into magento:master Oct 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants