Replies: 1 comment
-
This is the expected behavior. You don't get null checks as you do with |
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.
-
I'm having an issue combining
ConvertUsing
, specifically when usingIncludeMembers
, but it also happens if I try to map the property itself.Running this gives
using
brings back the slight different message:
and the only solution is to map it as:
However, as I reuse this logic in several places (but places I need to be explicit about), I'd really rather use a converter that I can wrap in an extension method.
🤔 Curiously, I get different errors when I use c#8 and
#nullable enable
- the original mapping throws "NullReferenceException: Object reference not set to an instance of an object."Beta Was this translation helpful? Give feedback.
All reactions