Commit Graph
21 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
Geoffrey K TaylorandGitHub cb970f36ed CartItem Product edge field "simpleAttributes" implemented and tested. (#521) 2021-07-05 18:18:52 -04:00
Geoff Taylor db095015b1 Version numbers and Repo templates updated. 2021-02-26 21:12:52 -05:00
Geoff Taylor 6c633bec51 CartError interface implemented and tested. 2021-02-24 12:54:29 -05:00
Geoff Taylor aacb6bf2bf Workflow badges updated. 2021-01-22 11:37:18 -05:00
Geoff Taylor b7a14f95a1 Session Handler upgraded. 2020-10-01 01:45:26 -04:00
Geoff Taylor 449d3b1674 "typeId" fields replaced by "databaseId". 2020-09-16 16:32:14 -04:00
Geoffrey K Taylor 8c7951bdde "label" field added. 2020-08-06 14:47:24 -04:00
Geoff Taylor f5f3de1de8 Deprecated "By" queries removed. More connection resolver cleanup. 2020-03-27 12:18:06 -04:00
Geoff Taylor bd4f35e4a8 "Testing Integration" + "WPCS" workflows created and passed. 2020-02-20 12:35:42 -05:00
Renato AlvesandGeoff Taylor 32ed3f8de3 Minor changes to the inputs 2020-02-19 17:29:16 -05:00
Renato AlvesandGeoff Taylor 8e1106b45b Cleaning the types folder/classes 2020-02-19 17:29:16 -05:00
Renato AlvesandGeoff Taylor c8865a832a Code improvements to the mutations (removing unused classes, fixing textdomain, etc) 2020-02-19 17:29:16 -05:00
Geoff Taylor 8afc1e90ca More queries updated. 2020-01-25 12:36:47 -05:00
Geoff Taylor 43d529f78f "idType" implemented. 2020-01-24 23:40:50 -05:00
Geoff Taylor c1239d0863 "ProductAttribute" re-designed. 2020-01-15 20:24:38 -05:00
Geoff Taylor 076d158afa Unsupported product type error handler implemented. 2019-12-20 16:34:10 -05:00
Geoff Taylor 46661913dd Product "link" fixed. 2019-11-13 21:06:01 -05:00
Geoff Taylor d7f16c99a1 "link" field added to "Product" interface. 2019-11-04 22:49:03 -05:00
Geoff Taylor 22deb98fe9 Namespaces refactored. 2019-10-25 19:13:36 -04:00
Geoff Taylor 52ceafce03 "ProductUnion" to "Product" 2019-10-24 22:11:04 -04:00