Sometimes we need to perform additional operations on the outcoming data. We might not want to expose specific properties or modify the response in some other way. In this article, we look into various solutions NestJS provides us with to change the data we send in the response.

The first thing to look into is the serialization. It is a process of transforming the response data before returning it to the user.

#javascript #nestjs #typescript

API with NestJS #5. Serializing the Response with Interceptors
20.30 GEEK