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
query FetchItems($values : [String]!){
allItems(value : $values){
id
name
custom_attributes{
__typename
... on CustomString{
attribute_code
valString: value
}
... on CustomArray{
attribute_code
valArray: value
}
}
}
}
Query Variables:
{
"values": ["3"]
}
Output:
{
"data": {
"allItems": []
}
}
It should return items that have "3" (or any other number) as string in value in typename CustomArray (that's where is category_ids), but it returns null. Why?
We want to keep signal strong in the GitHub issue tracker – to make sure that it remains the best place to track bugs and features that affect development.
@kejoRx Please consider posting your question to Stack Overflow.
If you think it's caused by some bug in graphql-js please provide a minimal example with all code involved.
Resolver func
Graphiql query:
Query Variables:
Output:
It should return items that have "3" (or any other number) as string in value in typename CustomArray (that's where is
category_ids
), but it returns null. Why?This is the first item in api:
The text was updated successfully, but these errors were encountered: