Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when using RootQueryToShopItemConnectionWhereArgsTaxArray as a variable #35

Open
vstrelianyi opened this issue Sep 24, 2022 · 0 comments

Comments

@vstrelianyi
Copy link

I'm receiving the following error while running the query with variables

"Type loader is expected to return a callable or valid type "RootQueryToShopItemConnectionWhereArgsTaxArray", but it returned null"

the query to reproduce the issue:

query GET_SHOP_ITEMS_BY_CATS_TAGS($taxArray: [RootQueryToShopItemConnectionWhereArgsTaxArray]) {
shop(
where: {status: PUBLISH, taxQuery: {relation: AND, taxArray: $taxArray}, }
) {
nodes {
title
databaseId
uri
}
}
}

query variables:
{
"taxArray": [{ "operator": "IN", "taxonomy": "SHOPCATEGORY", "terms": "grafika", "field": "SLUG"}]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant