Questions tagged [nestjs-interceptor]
2 questions
1
vote
1 answer
Disable NestInterceptor auto stringify
I'm using the following NestInterceptor to add code, message and data to final response:
export class HttpResponseInterceptor implements NestInterceptor {
intercept(context: ExecutionContext, next: CallHandler): Observable {
return…

Hhry
- 823
- 1
- 8
- 19
0
votes
1 answer
Nest.JS: How to update request/response details in a NestInterceptor?
I have an NestJS app which is a service for other applications to handle each of their own app and document related processess. I am using an Interceptor to capture every request and response and updating a database for auditing purposes.
A problem…

Antonio Pavicevac-Ortiz
- 7,239
- 17
- 68
- 141