sequelize-typescript icon indicating copy to clipboard operation
sequelize-typescript copied to clipboard

How to map query result with dto ?

Open bcba25 opened this issue 5 years ago • 3 comments

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

bcba25 avatar Aug 12 '20 06:08 bcba25

Did u find a solution for this?

lehno avatar Jun 21 '21 13:06 lehno

Any idea?

ppamorim avatar Jun 29 '21 09:06 ppamorim

Any news?

lucasmacielc avatar Jun 29 '21 14:06 lucasmacielc