NestJS · Senior · Question 38 of 75

How do you protect a Nest GraphQL API from very expensive queries?

Explanation

One GraphQL request can ask for huge nested data; per-request cost limits complement rate limiting.

Further reading

Problem with a question

NestJS · Senior · question 38

Test yourself

Take the NestJS · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz