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
Is your feature request related to a problem? Please describe.
When routing, a common use case is to need to find a post object by its slug. Other WPGraphQL queries like postBy and pageBy have a uri input field for this, but productBy does not.
Describe the solution you'd like
Add a uri input field to productBy.
Describe alternatives you've considered
You can use the products query and take just the first result, but it's a kludge.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
When routing, a common use case is to need to find a post object by its slug. Other WPGraphQL queries like
postBy
andpageBy
have auri
input field for this, butproductBy
does not.Describe the solution you'd like
Add a
uri
input field toproductBy
.Describe alternatives you've considered
You can use the
products
query and take just the first result, but it's a kludge.The text was updated successfully, but these errors were encountered: