Interceptors vs Middleware
Interceptors
An Interceptor in NestJS is a tool that sits around a function and watches what goes in and what comes out.
It runs:
Before a controller method starts
After the controller method finishes
This allows us to add extra behavior without ...
jibrankhalil.hashnode.dev3 min read