sequelize-typescript
sequelize-typescript copied to clipboard
How to map query result with dto ?
I didn't find much information on how to bind service result to desired dto. For example: await this.usersService.findAll(); how to bind to users dto or is there any examples of class-transformer plainToClass ? I don't want to expose my entity in response
Did u find a solution for this?
Any idea?
Any news?