Hi Team,
Is there any way to get the max depth of input query before execution?
As per the documentation, We can validate the max depth via
$rule = new QueryDepth($maxDepth = 2);
DocumentValidator::addRule($rule);
But can we have the max depth info of input query in the resolver function? This info help us to write efficient resolver.
Thanks a lot for such an amazing library.
Hi Team,
Is there any way to get the max depth of input query before execution?
As per the documentation, We can validate the max depth via
$rule = new QueryDepth($maxDepth = 2);DocumentValidator::addRule($rule);But can we have the max depth info of input query in the resolver function? This info help us to write efficient resolver.
Thanks a lot for such an amazing library.