Not sure I understand how this can yield a complexity that blocks my access to the API…
boards (limit: 5) {
id
name
groups {
title
items_page (limit: 2) {
items {
name
id
url
}
}
}
}
}
The response error:
{
"errors": :
{
"message": "Query has complexity of 15095070, which exceeds max complexity of 5000000",
"extensions": {
"code": "maxComplexityExceeded",
"complexity": 15095070,
"maxComplexity": 5000000
}
}
]
}
I have a developer plan account so that I can deploy my app on Monday but I run into complexity limits so often, it’s becoming essentially impossible to do actual testing for my app. My account has only 4 or 5 boards and each board only has a couple test groups and a max of 3 items in each group.
However, to actually test my app so I can execute queries that return dozens or hundreds / paginated of results for various items like groups/items/etc, the rules around complexity literally prevent me from doing so. Therefore, it seems it might not be possible to test an app on the Monday platform for queries that return anything more than a few rows for the most simple queries. Is that correct??
OPTIONS?
- I can create multiple queries (get one board, find groups in one board, then go issue another query to get a tiny list/page of items in that single group and repeat this process by issuing literally dozens if not hundreds of queries)
- Only test my app with completely mock data on my own test server and literally not call the Monday’s API at all. Far from ideal in every possible way.
- What else??