jasontaylordev / CleanArchitecture

Clean Architecture Solution Template for ASP.NET Core
MIT License
16.63k stars 3.57k forks source link

Replace AutoMapper with Mapperly #1206

Open neva1842 opened 1 month ago

neva1842 commented 1 month ago

Is your feature request related to a problem? Please describe. This feature request is not related to a problem. It is an exploratory idea to consider replacing AutoMapper with Mapperly.

Describe the solution you'd like I propose considering the replacement of Automapper with Mapperly in Jason Taylor's CleanArchitecture template. According to the benchmarks provided in this GitHub repository, Mapperly demonstrates superior performance compared to Automapper. This enhancement can potentially lead to performance gains in our applications. Moreover, Mapperly supports IQueryable projections, which aligns well with our existing use cases.

m2017atTR commented 2 weeks ago

Hi neva1842,

Automapper have support about projection .Project() ... https://ojdevelops.com/2015/09/using-automapper-in-entity-framework.html