How use profiles from nartc/automapper into a nestjs application
问题 I'm trying to use AutoMapper for nodejs from nartc/automapper lib inside a NestJS project, but I'm having troubles when trying to use Profiles functionality. Here is my configuration: App.module @Module({ imports: [ AutomapperModule.withMapper(), ], controllers: [], providers: [], }) export class AppModule implements NestModule {} Profile @Profile() export class RoleProfile extends ProfileBase { constructor(@InjectMapper() mapper: AutoMapper) { super(); mapper .createMap(Role,