Dissecting AutoMapper Programming Horror

added by DotNetKicks
4/14/2022 2:51:51 PM

252 Views

My AutoMapper search alerts brought me this gem this morning: Hey... let's use automapper to generate passwords. This post illustrates basically all the wrong reasons to use AutoMapper. Here's the code minus the unimportant bits: public class RequestProfile : Profile { public RequestProfile() { CreateMap<Request, NewAccount>() .ForMember(d => d.


0 comments