Blog133.3K views4,115 votes1 reply1 comment4,261 following
Using NestJS Interceptors to Centralize Cross-Cutting Concerns
Controllers often repeat logging, timing and DTO mapping. NestJS interceptors wrap handler execution with RxJS to centralize these concerns without touching the handler code.