[details=“System Information”]
- Strapi Version: 3.6.8
- Operating System: Windows 10
- Database: Mysql
- Node Version: 16.13.2
I have been unable to use any of the filter parameters on graphl query in strapi using the url (http://localhost:1337/graphql). I am using strapi 3.6.8 . I have a collection (Animals) that has an array of Habitat. When I try to limit the number of Habitat returned for each record to 3, it doesn’t work with the query below.
query{
Animals {
id
Habitat(limit: 3) {
Feature {
Weight
Height
Lifespan
}
}
}
}
I get the error message: “Unknown argument “limit” on field “Animal.Habitat”.”
the limit, where or any other filter does not work. They work however when I use them on the Animals itself. Kindly help