Hello everyone.
I am trying to use hasura GraphQL with MongoDB as the database. The data contains nested arrays similar to
I am trying to query for addresses which have the type as “Residential.”
I tried using this query:
query MyQuery{
UserWithAddress{
Addresses(where: {Type: {_eq: "Residential"}}) {
State
Street
Type
}
name
}
}
It fails with the following error: " ‘Addresses’ has no argument named ‘where’ "
Does anyone know how to solve this?