Excessive query depth
Deeply nested queries can result in expensive waterfalls, and nesting lists can cause exponential increases to the amount of work to be done.
Symptoms
- Requests that time out or exhaust resources
- Excessive backend load
Why it matters
Risk of denial of service. Importantly, depth limits should be set early and raised as needed. They are hard to introduce at a later time as it may break existing queries. List depth is much more significant than selection set depth since it scales complexity exponentially rather than linearly.