NestJS Mapping DTO to Entity with Relations
I am someone new to NestJS and was wondering what the best practice for converting a DTO to an entity is, when the DTO’s attributes don’t match up 1:1 with the entities attributes.
I am someone new to NestJS and was wondering what the best practice for converting a DTO to an entity is, when the DTO’s attributes don’t match up 1:1 with the entities attributes.