AutoMapper
AutoMapper copied to clipboard
A convention-based object-object mapper in JavaScript, written in TypeScript. Ported from: https://github.com/AutoMapper/AutoMapper
In the below example, a new Address object is not created and populated with values and then attached to the personDTO object. Instead, the address object, that is attached to...
Hi, I've been trying to get `automapper-ts` to work with my Node Express backend. Everything works fine but I can't seem to implement external `Profile` files. As seen in the...
Hi All, Im trying to using automapper in react using CreateReactApp boilerplate. build is fine but when running / start the app this error always appear. Is there any setting...
Hello, we have an Angular 6 webapp and we use your automapper, thank you very much. In a refactoring task we started to use the .withProfile functionality. I created the...
Hi, thank you for the great library, though I just have a small issue here. I am trying to use the CustomTypeConverter as specified here for my complex mapping logic:...
Function `withProfile` don't return `ICreateMapFluentFunctions` and i can't do this: ```javascript automapper .createMap('object', 'AutoCallSettingsDto') .withProfile('PascalCaseToCamelCase') .convertToType(AutoCallSettingsDto); ``` How can I do this?
How to map complex inner list. I have two complex class with child list. export class ClassOne { public firstName: string; public lastName: string; public list: ClassThree[]; } export class...
I think this is to be considered as a bug... Based on unit test '**should ignore properties on source object missing on destination object type Definition**' defined into **automapper-map-specs.ts** I...
Hi Bert, thank you for your lib, great job! But I've got a little issue with method"forMember", which receives a function as second parameter: `mapper.forMember(propertyName1, function (opts) { opts.mapFrom("propertyName2"); }...
A fallback is provided (the ```window``` global scope) when ```this``` is not defined. This happens, for example, when using this library inside an Angular v17 project: providing ```window``` as fallback...