Open 1moeses opened 5 years ago
Any help would be greatly appreciated in this one! Thanks!
@diehenne @BalintBernhardt
what seems to work:
query post($filter: JsonType) {
allPosts(filter: $filter) {
title
__typename
}
}
with variables:
{"filter": {"_id": "5c69be76387945700280002a4"}}
it seems that variables aren't resolved in a nested json 🤔
Huge thanks @aheinze ! Working nicely 🚀
Is it actually possible to filter by query variables?
I always get an empty array:
even though apollo-client-dev-tools is showing me the variable
works fine.
Thanks!