Commit Graph
19 Commits
Author SHA1 Message Date
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
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 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 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
Geoff Taylor b7a14f95a1 Session Handler upgraded. 2020-10-01 01:45:26 -04:00
Geoff Taylor c6b8321d81 some tests updated. 2020-06-12 16:50:21 -04:00
Geoff Taylor bb14f18712 WPCS compliance fix 2020-03-27 13:07:09 -04:00
Geoff Taylor f5f3de1de8 Deprecated "By" queries removed. More connection resolver cleanup. 2020-03-27 12:18:06 -04:00
Geoff Taylor 8ad2723fb6 Documentation cleanup 2020-03-26 14:52:10 -04:00
Geoff Taylor 60ef3cde3b WPGraphQL v0.8.x support added 2020-03-24 20:55:13 -04:00
Geoff Taylor f14a9478d0 wc-db-loader created 2020-03-20 23:12:04 -04:00
Geoff Taylor bd4f35e4a8 "Testing Integration" + "WPCS" workflows created and passed. 2020-02-20 12:35:42 -05:00
Geoff Taylor b366aeea0d Refund connection resolver fixed 2020-01-12 00:24:56 -05:00
Geoff Taylor 22deb98fe9 Namespaces refactored. 2019-10-25 19:13:36 -04:00
Geoff Taylor ad82310c0a crud loader refactored 2019-07-09 03:55:55 -04:00
Geoff Taylor c581d6f71e "src" directory renamed to "includes" 2019-05-11 01:10:05 -04:00