Uh oh!
There was an error while loading. Please reload this page.
Consolidate ResolveUsing to MapFrom - #2809
Conversation
lbargaoanu
commented
Sep 27, 2018
A small thing, but I wouldn't mind seeing UseValue gone :) |
jbogard
commented
Sep 27, 2018
Ha, oh right! Because we used to force people to only use I'd be OK with that, |
lbargaoanu
commented
Sep 27, 2018
OK, it should be simple to do. I'll open a PR whenever :) |
jbogard
commented
Sep 27, 2018
via email
Too late lol …On Thu, Sep 27, 2018 at 7:46 AM Lucian Bargaoanu ***@***.***> wrote:
OK, it should be simple to do. I'll open a PR whenever :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2809 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAGYMoWSY1zeU3ILcuMa9MOZnYaMPkR7ks5ufMizgaJpZM4W7fHD>
.
|
lbargaoanu
commented
Sep 27, 2018
Nice :) |
Ok, fantastic. I have replaced - .ForMember(dest => dest.UserId, opts => opts.ResolveUsing(src => src.User?.Id))+ .ForMember(dest => dest.UserId, opts => opts.MapFrom(src => src.User?.Id))I find the following solution unacceptable: .ForMember(dest =>dest.UserId, opts =>opts.MapFrom(src =>src.User==null?(long?)null:src.User.Id))Is there any other way to deal with this breaking change? |
lbargaoanu
commented
Dec 1, 2018
Check the upgrade guide. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Per #2795 discussion