Can't map to ImmutableArray #3851
drew-cooper
started this conversation in
Ideas
Replies: 1 comment
-
That's not built in. A PR is welcome. |
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
-
Source/destination types
Mapping configuration
Version: 10.1.1 and 11.0.0
Expected behavior
bar.Value
should be assigned theImmutableArray<byte>
created by theMapFrom
delegate.Actual behavior
On v10.1.1 an exception was thrown while building the configuration:
I tried v11.0.0 and it failed similarly, but with a different exception:
Steps to reproduce
Running the above code is all that is needed. Here is a minimal LinqPad query that repros the issue:
Notes
string
value will not benull
.AfterMap
action.Beta Was this translation helpful? Give feedback.
All reactions