You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently to use this plugin, you need to manually register_graphql_facet_type(), and then query the facet from RootQuery.
That's a lot of manual work for the user, as well as more verbose queries.
What is your proposed solution?
We should be able to use the existing FacetWP data to autoregister facets to the schema out of the box, ideally as an input on the connections's {Type}ConnectionWhereArgs.
Similarly, facet data can be added to the connection edge.
What problem does this address?
Currently to use this plugin, you need to manually
register_graphql_facet_type()
, and then query the facet fromRootQuery
.That's a lot of manual work for the user, as well as more verbose queries.
What is your proposed solution?
We should be able to use the existing FacetWP data to autoregister facets to the schema out of the box, ideally as an input on the connections's
{Type}ConnectionWhereArgs
.Similarly, facet data can be added to the connection edge.
E.g.
What alternatives have you considered?
No response
Additional Context
This would be a non-breaking enhancement
The text was updated successfully, but these errors were encountered: