Angular Examples #284
Replies: 1 comment 2 replies
-
Hi @ChrisMancini , thanks for taking interests in this library. At the moment, I haven’t given Angular integration much thoughts as I primarily use this package on the server-side (in the same nature as .NET) with @automapper/nestjs That said, if there is interest in an official integration with Angular (eg: @automapper/angular) then I’m happy to look into it. And as you said, the integration needs to be carefully crafted due to the fact that you can lazy-load feature modules and such in Angular. More details can be discussed further here. I’m all ears to all suggestions. As of right now, I’d suggest to load everything as soon as possible. The Mapping creations (createMetadataMap, if you use Interfaces, and createMap()) are one-time costs and we’d want to have the Mapping configurations available as soon as we need them to. |
Beta Was this translation helpful? Give feedback.
-
Hi,
Having experience in .net and AutoMapper, I am happy to have found this project for TS/JS! Thank you!
I am experimenting with this package and was curious about the recommended approach to using AutoMapper within an Angular application.
Does anybody know of an example of an Angular application with multiple feature modules (that are lazily loaded)? In particular I am interested in :
I have been unsuccessful in my attempt at this and was hoping somebody knows of an example that I can compare my approach to.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions