NestJS · Middle · Question 74 of 75

Interceptors are bound globally, on a controller and on a route. In what order does their 'after' logic run?

Explanation

Before the handler they run global → controller → route; the response flows back out through the same layers in reverse.

Further reading

Problem with a question

NestJS · Middle · question 74

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