wp-graphql-woocommerce icon indicating copy to clipboard operation
wp-graphql-woocommerce copied to clipboard

feat: Add filter hook to stock status enum

Open matthijs166 opened this issue 2 years ago • 0 comments

Your checklist for this pull request

Thanks for sending a pull request! Please make sure you click the link above to view the contribution guidelines, then fill out the blanks below.

🚨Please review the guidelines for contributing to this repository.

  • [X] Make sure you are making a pull request against the develop branch (left side). Also you should start your branch off our develop.
  • [X] Make sure you are requesting to pull request from a topic/feature/bugfix/devops branch (right side). Don't pull request from your master!
  • [X] Have you ensured/updated that CLI tests to extend coverage to any new logic. Learn how to modify the tests here.

What does this implement/fix? Explain your changes.

Adds a filter hook to the Stock Status Enum so that there is the ability to add custom stock statues by developers

Does this close any currently open issues?

no

Any relevant logs, error output, GraphiQL screenshots, etc?

Any other comments?

Where has this been tested?

  • WooGraphQL Version: 0.11.0
  • WPGraphQL Version: 1.8.6
  • WordPress Version: 6.0
  • WooCommerce Version: 6.6.1

matthijs166 avatar Jun 30 '22 06:06 matthijs166

Code Climate has analyzed commit 54bc4f4e and detected 11 issues on this pull request.

Here's the issue category breakdown:

Category Count
Style 11

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 76.4% (0.0% change).

View more on Code Climate.

codeclimate[bot] avatar Aug 29 '22 17:08 codeclimate[bot]