Commit Graph
901 Commits
Author SHA1 Message Date
Jacob ArriolaandGitHub 53cd35bb13 Guard against empty terms
Addresses #372, which prevents returning all data for a given taxonomy when it's not associated with a product.
2020-11-16 16:00:40 -08:00
Geoffrey K TaylorandGitHub 5230e69558 Merge pull request #364 from jacobarriola/patch-3
Guard against false terms when plucking IDs
2020-11-10 12:47:00 -05:00
Jacob Arriola 85ad48ece8 Add correct params after last merge 2020-11-10 09:38:25 -08:00
be5e7ceb48 Use core WC object instead of handrolling our own guards
Co-authored-by: Geoffrey K Taylor <geoffrey.taylor@outlook.com>
2020-11-10 09:29:45 -08:00
Geoffrey K TaylorandGitHub d9b315f5c7 Merge pull request #355 from namli/develop
Fix Syntax Error in php7.2 and 7.4
2020-11-10 06:29:57 -05:00
Jacob Arriola 1852adec71 Formatting 2020-11-09 14:17:15 -08:00
Jacob Arriola e1e4a75848 Typo fix 2020-11-09 14:17:03 -08:00
Jacob ArriolaandGitHub 6366a9b147 Guard against false terms when plucking IDs
`get_the_terms` can return `false`, which causes errors when running anything other than an array in `wp_list_pluck`. Related to #363.
2020-11-09 14:10:35 -08:00
namli e33b0e62a6 Fix Syntax Error in php7.2 and 7.4 2020-10-28 22:58:18 +01:00
Geoffrey K TaylorandGitHub 581d473173 Merge pull request #353 from kidunot89/feature/better-extension-support
Feature/better extension support
2020-10-22 16:11:38 -04:00
Geoff Taylor cee407973f product model field filters implemented 2020-10-22 16:01:35 -04:00
Geoffrey K TaylorandGitHub d266581267 Merge pull request #351 from jacobarriola/patch-2
Connect terms to their source
2020-10-21 21:02:44 -04:00
Jacob ArriolaandGitHub 3fc6ebeeb4 Connect terms to their source
Rather than assume this only runs on `$attributes`, we need to connect the $source to it's given `$tax_object` that is passed instead.
2020-10-21 11:33:13 -07:00
Geoff Taylor 75d0e89ac9 "Order::is_private()" access level altered to match "Post::is_private()" class. 2020-10-20 14:02:38 -04:00
Geoffrey K TaylorandGitHub 697422ee2f Merge pull request #346 from jacobarriola/patch-2
Return connected TermObjects from the PostObjectType
2020-10-20 13:54:00 -04:00
Jacob ArriolaandGitHub 15dcfa75e0 Remove unused variable 2020-10-20 08:04:26 -07:00
88af7d8fc4 Ensure that no terms are returned for products that don't have that attribute assigned
Co-authored-by: Geoffrey K Taylor <geoffrey.taylor@outlook.com>
2020-10-20 07:57:49 -07:00
Jacob ArriolaandGitHub 9cfffa090d Return TermObjects from the PostObjectType
The current implementation `$source->{"$taxonomy}_ids"}` returns null, which results in all TermObjects getting returned, not just the connected ones.

`$tax_object` is an instance of `WP_Term`, so we can use the `attributes` array of the `$source` instead to collect the connected ids to properly set the query args.
2020-10-16 14:47:39 -07:00
Geoff Taylor 8a5c35868f CHANGELOG.md updated v0.6.1 2020-10-15 13:30:45 -04:00
Geoffrey K TaylorandGitHub 51e3335b87 Merge pull request #344 from imranhsayed/patch-1
Adds demo/examples
2020-10-15 13:26:39 -04:00
Geoff Taylor d0b58a0573 Merge branch 'develop' of github.com:wp-graphql/wp-graphql-woocommerce into develop 2020-10-15 13:24:17 -04:00
Geoffrey K TaylorandGitHub 95ab440de6 Merge pull request #343 from jacobarriola/patch-1
Remove undefined codecept_debug() function
2020-10-15 13:24:03 -04:00
Geoff Taylor cbd17b2cab CHANGELOG.md updated. 2020-10-15 13:22:57 -04:00
Geoff Taylor ddf7661ccf Minor patches applied 2020-10-15 13:12:57 -04:00
Imran SayedandGitHub 3a15012534 Adds demo/examples
Adds demo and source code for examples with Next.js and Gatsby
2020-10-15 22:00:34 +05:30
Jacob ArriolaandGitHub 6ba15f0148 Remove undefined codecept_debug() function 2020-10-15 06:54:29 -07:00
Geoff Taylor 673ce74547 Docker testing entrypoint script refactored to work better with old versions of PHP. 2020-10-15 00:55:33 -04:00
Geoff Taylor c0b39bc1e1 php version matrix rearranged to provide collisions with old version. 2020-10-14 23:26:23 -04:00
Geoff Taylor dd190fbde1 README.md updated. 2020-10-14 20:48:45 -04:00
Geoff Taylor 885736b970 Minor bugs in tests resolved. 2020-10-14 20:33:55 -04:00
Geoff Taylor 0773277b4e release/v0.6.0 removed from workflow watch list 2020-10-14 10:46:30 -04:00
Geoff Taylor 3a445ed0ed Broken workflow removed. 2020-10-14 10:43:18 -04:00
Geoff Taylor 7b5568fef0 CHANGELOG.md updated 2020-10-13 17:09:44 -04:00
Geoffrey K TaylorandGitHub e1a52305d8 Merge pull request #327 from wp-graphql/release/v0.6.0
Release v0.6.0
2020-10-13 17:01:05 -04:00
Geoff Taylor 86a7ef1bdf final cleanups in code. 2020-10-13 15:01:44 -04:00
Geoff Taylor 4cbe56ba79 Interface type resolve callback implemented. 2020-10-12 12:41:19 -04:00
Geoffrey K TaylorandGitHub d06333782d Merge pull request #337 from kidunot89/feature/some-node-interfaces-support
Support for some node interfaces added to the product and order models.
2020-10-03 01:47:04 -04:00
Geoffrey K TaylorandGitHub e708346e65 Merge branch 'release/v0.6.0' into feature/some-node-interfaces-support 2020-10-03 01:46:46 -04:00
Geoffrey K TaylorandGitHub 531fac9a14 Merge pull request #315 from kidunot89/bugfix/cart-item-checkout-validation
Fixes cart item validation and error handling on checkout
2020-10-03 01:39:53 -04:00
Geoff Taylor fcda02cd00 Syntax error fixed in workflow 2020-10-03 01:31:57 -04:00
Geoff Taylor 6026ed9cd3 "testCheckoutMutationCartItemValidation" completed. 2020-10-03 01:28:55 -04:00
Geoff Taylor c8ce2dbe70 Support for WooCommerce v4.5+ added. 2020-10-02 12:37:30 -04:00
Geoff Taylor 0cbd8de1d8 Deprecated code removed. 2020-10-01 19:49:11 -04:00
Geoffrey K TaylorandGitHub b1232752fa Merge pull request #2 from kidunot89/feature/ql-session-handler-v2.5
Feature/ql session handler v2.5
2020-10-01 01:56:07 -04:00
Geoff Taylor b7a14f95a1 Session Handler upgraded. 2020-10-01 01:45:26 -04:00
Geoff Taylor 80b87eb019 Large refactor of Post models 2020-09-22 08:17:01 -04:00
Geoff TaylorandGeoff Taylor b66f52cba9 autoloader files rebuilt 2020-09-21 14:49:32 -04:00
Geoff TaylorandGeoff Taylor 331bfe52eb Crud_CPT renamed to WC_Post 2020-09-21 14:49:32 -04:00
Geoff TaylorandGeoff Taylor 0ffe6d5633 Product review mutations implemented and tested. 2020-09-21 14:44:06 -04:00
Geoff TaylorandGeoff Taylor 3150b9e5b3 composer.json updated. 2020-09-21 14:42:26 -04:00