next
Round
Technologies
Experiences
Contribute
Login
next
Round
Technologies
Experiences
Contribute
Login
Question Loading...
Interceptors
1. What is an interceptor in NestJS and what can it do that guards and middleware cannot?
Level: Expert | Frequency: High
2. How do you use an interceptor to transform every response into a standard envelope format in NestJS?
Level: Expert | Frequency: High
3. How do you implement a caching interceptor that short-circuits the handler in NestJS?
Level: Expert | Frequency: High
4. What is the difference between tap(), map(), and catchError() in an interceptor's RxJS pipeline?
Level: Expert | Frequency: High
5. How do interceptors handle errors vs exception filters in NestJS — what is the division of responsibility?
Level: Expert | Frequency: High
6. How would you implement a request-scoped audit log interceptor that captures both the request and response body in NestJS?
Level: Expert | Frequency: High
All Topics
Basics
Modules
Decorators
Controllers
Dependency Injection
Providers
Architecture
Request Lifecycle
Middleware
Guards
Interceptors
Pipes
Filters
Exception Handling
API Design
GraphQL
Database and ORM
Microservices
Authentication and Authorization,
Interceptors