Why does this map configuration work with Map, but not with ProjectTo #3944
-
When I use ProjectTo I get:
Meanwhile this works fine with the above configuration:
Is it because the items when using Mapper.Map are already loaded in memory? I also tried using custom value resolvers while using ProjectTo and the result was the same. |
Beta Was this translation helpful? Give feedback.
Answered by
lbargaoanu
Mar 25, 2022
Replies: 1 comment 1 reply
-
https://docs.automapper.org/en/latest/Queryable-Extensions.html#supported-mapping-options |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
lbargaoanu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://docs.automapper.org/en/latest/Queryable-Extensions.html#supported-mapping-options