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

feat: add updateProductsVisibility mutation #6104

Merged
merged 10 commits into from
Feb 21, 2020
Merged

Conversation

willopez
Copy link
Member

@willopez willopez commented Feb 14, 2020

Resolves #6102
Impact: minor
Type: feature

Summary

Adds updateProductsVisibility mutation that will update multiple products by setting their visibility property.

mutation{
  updateProductsVisibility(input: 
  {
    productIds: ["357"],
    shopId: "shopId",
    isVisible: false
  }){
    updatedcount
  }
}

Breaking changes

None

Testing

  1. Use the mutation above to set the isVisible property on multiple products.

@mikemurray
Copy link
Member

@willopez This needs an integration test as well.

@willopez
Copy link
Member Author

ready for another review

Copy link
Member

@mikemurray mikemurray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@mikemurray mikemurray merged commit 59547b0 into trunk Feb 21, 2020
@mikemurray mikemurray deleted the feat-bulk-update-products branch February 21, 2020 23:17
@kieckhafer kieckhafer mentioned this pull request Feb 26, 2020
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.

add mutation to update multiple products visibility
2 participants