AutoMapper optimisation or an issue? #3619
antonlyhin
started this conversation in
NA
Replies: 1 comment
-
I'm not sure what you mean here. It's the responsibility of the person creating the destination types. I can name destination members differently, nothing in C# enforces a convention.
I don't know what you're referring to as "Local" and "Profile" configurations, nor what this has to do with MVC DI.
That is a very specific scenario of wrapping custom extensions (resolvers, type converters) with try/catch. We don't do that anymore. We still handle nulls in dest.FooBarBaz = src?.Foo?.Bar?.Baz ?? default; |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Good evening Jimmy, thank you for great job on AutoMapper.
Today I stopped reading you article on AutoMapper's Design Philosophy and got some questions.
Several statements from you blogpost:
Reference: https://jimmybogard.com/automappers-design-philosophy/#:~:text=AutoMapper%20works%20because%20it%20enforces,is%20meant%20to%20be%20mapped.
Can you please clarify this article?
Can you please explain these ambiguity and if I'm missing something here.
Can't we just love development tools and AutoMapper in particular because they make contracts (model mapping contracts) clear and intuitive? I guess love is the answer. :)
Beta Was this translation helpful? Give feedback.
All reactions