How do you prevent a nested attack against an Apollo server with a query such as:
{ authors { firstName posts { title author { firstName posts{ title author { firstName posts { title [n author] [n post] } } } } } } }

In other words, how can you limit the number of recursions being submitted in a query? This could be a potential server vulnerability.

Write your answer...

Never miss a post from Gufran Mirza, when you sign up for Ednsquare.