Nestjs
Fleeting- External reference: https://docs.nestjs.com/faq/request-lifecycle
request lifecycle
request lifecycle looks like the following:
- Incoming request
- Middleware
- Globally bound middleware
- Module bound middleware
- Guards
- Global guards
- Controller guards
- Route guards
- Interceptors (pre-controller)
- Global interceptors
- Controller interceptors
- Route interceptors
- Pipes
- Global pipes
- Controller pipes
- Route pipes
- Route parameter pipes
- Controller (method handler)
- Service (if exists)
- Interceptors (post-request)
- Route interceptor
- Controller interceptor
- Global interceptor
- Exception filters
- route
- controller
- global
- Server response