Replies: 1 comment 4 replies
-
Try the MyGet build. |
Beta Was this translation helpful? Give feedback.
4 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.
Uh oh!
There was an error while loading. Please reload this page.
-
Source/destination types
Mapping configuration
Version: 12.0.1
EF Core 7.0.3
EF Core InMemory 7.0.3
Expected behavior
A valid mapping and successful projection
Actual behavior
An
ArgumentException
when AutoMapper tries to access a property to the wrong object.As you can see by the exception below
SubQueryPath.GetSourceExpression
is trying to access the propertyBar
on the objectBar
, which does not exist. Strangely, it only happens when projecting Foos, not when projecting BarsSteps to reproduce
See gist: https://gist.github.com/MrZander/0bcdd5a9b8b42e862b5b523b0d49002a
Beta Was this translation helpful? Give feedback.
All reactions