Replies: 5 comments 10 replies
-
Try using |
Beta Was this translation helpful? Give feedback.
-
We'd accept a PR for this feature request. |
Beta Was this translation helpful? Give feedback.
-
I'm not sure it's a good idea. Clearly |
Beta Was this translation helpful? Give feedback.
-
There is no |
Beta Was this translation helpful? Give feedback.
-
Update on this.
inside a Profile works fine but I still believe |
Beta Was this translation helpful? Give feedback.
-
Please provide an overload for IProjectionExpression.ForMember() with
string name
instead ofExpression<Func<TDestination, TMember>> destinationMember
like you do in IMappingExpression.ForMember().More context. I've tried to migrate from
CreateMap()
toCreateProjection()
but where is no drop off replacement forForMember(string name, ...)
. In our project we need to do something likebecause we use GraphQL and only map properties that are asked in a query.
In order to use
CreateProjection()
we now have to do something like thiswhich works fine but looks horrible and probably slows down our application start.
Beta Was this translation helpful? Give feedback.
All reactions