NestJS · Middle · Question 63 of 75

What's a sign that a Nest controller is doing too much?

Explanation

Thin controllers are easier to test, and the same logic can be reused by queues, schedulers or GraphQL resolvers.

Further reading

Problem with a question

NestJS · Middle · question 63

Test yourself

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

Take this quiz