v0.4.3
This minor release adds support for the Sort Facet. It also fixes a bug where the FacetQueryArgs
input value was not being correctly matched to the correct Facet.
Note: To support the Sort facet when using custom WPGraphQL Connection Resolvers, you must set the connection's orderby
argument to post__id
. The example WooCommerce snippet has been updated to reflect this change, and you should update your custom code accordingly.
What's Changed
- feat: Add support for the Sort Facet (props to @ninie1205 for sponsoring this feature!)
- fix: Fallback to
snake_case
when matching theFacetQueryArgs
input value to the FacetWP facet name. - docs: Update WooCommerce snippet in README.md to support the Sort Facet.
Full Changelog: 0.4.2...0.4.3