Commit Graph
137 Commits
Author SHA1 Message Date
Oskar ModigandGitHub e844a39ef9 make order processing methods static (#566) 2021-10-15 15:04:10 -04:00
Brian JohnsonandGitHub 69ee73b9d5 Fix: pass expected checkout validation WP_Error instance (#531) 2021-09-01 19:08:33 -04:00
a7714d0cd2 Updates to be compatible with WPGraphQL v1.6.1 (#537)
* fix: Huge refactor across schema and unit tests

* - add shipping_method loader in class-core-schema-filters.php

* - Update class-wc-db-loader.php to respect the new SHIPPING_METHOD loader with a `load_shipping_method_from_id()` function

* - Convert Shipping_Method_Connection_Resolver to extend AbstractConnectionResolver

* - Replace resolver for Shipping Methods connection. Remove use of `resolveNode` and replace the resolver with the new connection class `get_connection()` call

* chore: Factory class refactored.

* - update the function that registers Product Types to the Schema to use the value from the `get_enabled_product_types()` as the Type name and the key as the fieldName

* chore: PaymentGatewayQueriesTest refactored.

* chore: WPCS compliance met

* chore: Syntax error fixed.

Co-authored-by: Jason Bahl <jasonbahl@mac.com>
2021-08-11 14:26:09 -04:00
Geoffrey K TaylorandGitHub f59872ae89 Coupon mutations added. (#510)
* Coupon mutations implemented and tested
* Vendor files no longer versioned and package workflow implemented
2021-07-05 13:51:52 -04:00
79c6035ade Checkout mutation: Add or Update order metas (#484)
* Checkout mutation: Add or Update order metas

* Checkout mutation: Update order metas

Co-authored-by: Geoff Taylor <geoff@axistaylor.com>
2021-06-14 14:56:43 -04:00
manuelsamplandGeoff Taylor 85de652693 Update class-checkout-mutation.php
Static Keyword missing
2021-06-14 12:14:50 -04:00
Geoff Taylor 83c8aed558 WPCS compliance met 2021-06-14 11:56:22 -04:00
Geoff Taylor 66690f03ff "Customer_Connection_Resolver" deprecated. 2021-06-14 11:40:42 -04:00
Geoff Taylor 22bbc38765 WPCS compliance met. 2021-06-12 22:18:41 -04:00
Geoff Taylor 9e31f47e51 Cart item connection pagination refactored. 2021-06-12 22:06:44 -04:00
Geoff Taylor 8215901e93 Order connections refactored. 2021-06-03 21:37:09 -04:00
Geoff Taylor a37e22480b Order Connection logic/tests heavily refactored. 2021-05-30 14:59:45 -04:00
Geoffrey K TaylorandGitHub 2d45d6db51 Merge pull request #497 from kidunot89/feature/coupon-connection-upgrade
"Coupon_Connection_Resolver" deprecated.
2021-05-30 14:57:13 -04:00
Geoff Taylor da2cbdf484 "Coupon_Connection_Resolver" deprecated. 2021-05-19 19:45:02 -04:00
Geoff Taylor 41be17c16f Product connections now resolved thru "PostObjectConnectionResolver" class. "Product_Connection_Resolver" class deprecated. 2021-05-15 17:56:16 -04:00
Geoff Taylor c264114daa "Product=>reviews" resolver re-implemented 2021-03-17 19:10:06 -04:00
Geoffrey K TaylorandGitHub 1e799ccd48 "woographql_db_loader_func" hook updated. 2021-03-17 11:22:48 -04:00
Geoff Taylor 73d6418b9d "fillCart" mutation implemented and tested. 2021-02-24 09:17:12 -05:00
Geoff Taylor aa780cf2e7 "AddCartItems" mutation implemented and tested. 2021-02-22 21:17:39 -05:00
Geoff Taylor c75a295e0b functional test "CartTransactionQueueCest" added. 2021-02-22 19:42:54 -05:00
Geoff Taylor ea4a4a539b coding standards met. 2021-01-27 14:02:06 -05:00
believelodyandGeoff Taylor 81f1f9d7d8 implements metadata for customer register and update 2021-01-27 01:32:37 -05:00
Geoff Taylor aacb6bf2bf Workflow badges updated. 2021-01-22 11:37:18 -05:00
Geoff Taylor 71d0f4454b Remote tests removed from codecoverage. 2021-01-22 11:37:18 -05:00
Geoffrey K TaylorandGitHub fb6578df8f Merge pull request #383 from wp-graphql/release/v0.7.0
Release v0.7.0
2020-11-24 13:03:25 -05:00
Geoffrey K TaylorandGitHub 2cd50a1e5c Merge pull request #374 from loganstellway/issues/262-multiple-orderby-fields
Allow multiple "orderby" fields
2020-11-24 12:18:41 -05:00
Geoff Taylor 1b9a6de9fc Version numbers updated. 2020-11-24 01:12:12 -05:00
Geoff Taylor b3c649da67 CartItem connections implemented and tested 2020-11-24 00:28:20 -05:00
Geoff Taylor bc07902b35 "Product_Connection_Resolver::set_query_arg()" removed. 2020-11-20 21:00:13 -05:00
Logan StellwayandGitHub 5d3155230c Allow multiple "orderby" fields 2020-11-16 20:13:21 -08: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
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
Geoff Taylor b7a14f95a1 Session Handler upgraded. 2020-10-01 01:45:26 -04:00
Geoff TaylorandGeoff Taylor 55fa706370 initial commit 2020-09-21 14:17:35 -04:00
Geoffrey K TaylorandGitHub 12231bb98f Merge pull request #331 from kidunot89/feature/root-queries
"Root_Query" class implemented.
2020-09-07 13:05:37 -04:00
Geoff Taylor 87eb81db0b "Root_Query" class implemented. 2020-08-11 19:18:19 -04:00
Geoff Taylor 664bacf429 Heavy refactor of productconnection "resolve" functions. 2020-08-07 10:35:21 -04:00
Geoff Taylor edf10a8a1c WC_Term_Connection_Resolver class removed. 2020-08-06 16:02:46 -04:00
Geoff Taylor aed99ef68a "galleryImages" connection refactored.
Unneeded "graphql_post_object_connection_query_args" filter removed.
2020-08-04 12:45:43 -04:00
Geoff Taylor c6b8321d81 some tests updated. 2020-06-12 16:50:21 -04:00
HW, Siew ce37b71514 Fixed : incorrect namespace for WC_Customer 2020-06-05 16:47:37 +08:00
HW, Siew c79e809991 Fixed : missing static keyword for static variable 2020-06-05 00:29:35 +08:00
Geoff Taylor eb10eadd3b entrypoint script rebuilt 2020-05-11 21:25:55 -04:00
Geoff Taylor d3c36d62a4 Customer session functions updated 2020-05-11 21:25:44 -04:00
Geoff TaylorandGeoff Taylor 7fa4603a9b new test added. 2020-05-11 21:24:34 -04:00
Geoff TaylorandGeoff Taylor b55acb9435 "resolve_session_customer" refactored. 2020-05-11 21:24:34 -04:00
Geoff TaylorandGeoff Taylor 6d63f8d00d updateCustomer resolver cleaned up 2020-05-11 21:23:56 -04:00
Geoff TaylorandGeoff Taylor 56507b663a Checkout mutation input fields updated 2020-05-11 21:23:56 -04:00