Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

GraphQL: Add support for product reviews #7428

Closed
4 of 8 tasks
keharper opened this issue Jun 18, 2020 · 2 comments
Closed
4 of 8 tasks

GraphQL: Add support for product reviews #7428

keharper opened this issue Jun 18, 2020 · 2 comments
Assignees
Labels
2.4.1 Community Docs impacted by community code contribution New Topic A major update published as an entirely new document Progress: ready for dev

Comments

@keharper
Copy link
Contributor

Community engineering issue

Type of Doc:

  • New topic
  • Topic Update, Devdoc link: Several
  • Other

Magento 2 GitHub Issue: magento/magento2#28523
Magento 2 GitHub PR: magento/magento2#27882

Magento 2 version:

  • 2.4

Notifications of Changes:

  • Changes to Admin interface?
  • New software requirements?
  • New REST endpoints or updated GraphQL query syntax?
  • New command line option?

Content

This issue provides an overview of the GraphQL documentation changes required to support product reviews. Additional work might be required.

  • Add a topic to document the productReviewRatingsMetadata query.
  • Add a topic to document the createProductReview mutation.
  • Update the customer query to include product review attributes and data types
  • Update the ProductInterface documentation to include product review attributes and data types

Make all updates in the 2.4.1-develop branch

Important

  • When adding a new topic, update the src/_data/toc/graphql.yml file so that the topic will appear in the left navigation. Use the exclude_versions: ["2.3"] parameter so that it doesn't appear in the 2.3 version of devdocs.

  • If any affected file in the v2.4/graphql directory is a symlink, the symlink must be broken with the git rm <path to 2.4 file> command. Then copy the v2.3 version over to v2.4.

  • If any file in the _includes/graphql directory needs to be updated, and that file name does not end with -24.md, make a copy of that file and give it a name that ends with -24.md. All files in the v2.4 directory that reference the original include file must be updated to reference the new -24.md file.

It is not necessary to update multiple examples to show the product review functionality. One example somewhere should suffice.

Additional information

This issue is assigned to Atwix, because they contributed the functionality.

@keharper keharper added Groomed Community Docs impacted by community code contribution Partner: Atwix New Topic A major update published as an entirely new document 2.4.1 labels Jun 18, 2020
@m2-assistant
Copy link

m2-assistant bot commented Jun 18, 2020

Hi @keharper. Thank you for your report.
To help us process this issue please make sure that you provided sufficient information.

Please, add a comment to assign the issue: @magento I am working on this


@keharper
Copy link
Contributor Author

keharper commented Sep 1, 2020

Fixed by #7775

@keharper keharper closed this as completed Sep 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
2.4.1 Community Docs impacted by community code contribution New Topic A major update published as an entirely new document Progress: ready for dev
Projects
None yet
Development

No branches or pull requests

2 participants