How to add query depth limits to your GraphQL APIs in Tyk

In this tutorial we go over how to set query depth limiting at the global and per API level. This can help to avoid users from deeply nesting their queries and also help to combat against malicious queries attempting to execute a Denial of Service attack on your GraphQL endpoint.