| Option | GraphQLQueryDepthLimit | |
| Description | Permitted maximum depth of a GraphQL query. | |
| Introduced Version | 1.0.0 | |
| Default | 13 (added in 1.214) | |
| Minimum | 3 | |
| Maximum | 50 | |
This parameter allows for control of how many levels a GraphQL query can have.
{
heroes {
name
superpowers {
name
damage
}
birthdate
}
}The example query is 3 levels deep: first level is "heros"; second level contains "name", "superpowers", and "birthdate"; and the third level contains "name" and "damage".