-
-
Notifications
You must be signed in to change notification settings - Fork 131
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
collectionStats
query fully implemented
#849
collectionStats
query fully implemented
#849
Conversation
'attribute' => [ | ||
'type' => 'String', | ||
'description' => __( 'Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug.', 'wp-graphql-woocommerce' ), | ||
'type' => 'ProductAttributeEnum', |
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.
Changing the type makes this breaking for schemas already using it. If it's deprecated anyway is there a need to change the type as well?
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.
No, there isn't. Thanks for reminding me about the potential headache this will cause 🤣. I'll change it back before merging
/** | ||
* The instance of the class that helps filtering with the product attributes lookup table. | ||
* | ||
* @var Filterer |
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.
* @var Filterer | |
* @var \Automattic\WooCommerce\Internal\ProductAttributesLookup\Filterer |
Add |\stdClass
,if this prop is overloadable.
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.
It's not overloadable as fair as I know.
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.
Commented on the few things in the diff that jumped out at me, nothing pressing.
collectionStats
query fully implementedcollectionStats
query fully implemented
collectionStats
query fully implementedcollectionStats
query fully implemented
c3e072e
to
e65ef93
Compare
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.
What does this implement/fix? Explain your changes.
collectionStats
query parametersattributes
field to the*ToProductUnionConnectionWhereArgs
input typesattribute
andattributeTerm
on the*ToProductUnionConnectionWhereArgs
input typescollectionStats
query andattributes
field functionality introduced in WooCommerce v3.9.0Does this close any currently open issues?
Resolves #845
Any relevant logs, error output, GraphiQL screenshots, etc?
(If it’s long, please paste to https://ghostbin.com/ and insert the link here.)
Any other comments?
…
Where has this been tested?