Concept Flow - Depth limiting
Client sends GraphQL query
Parse query into AST
Calculate depth of query
Depth <= limit
Execute query
Return data
The server checks the query depth before running it. If the depth is too big, it rejects the query to keep the server safe.