Replies: 1 comment
-
I solved it, we had a circular dependency in our dto models. |
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.
-
Source/destination types
Mapping configuration
Version: x.y.z
AutoMapper 10.1.1
AutoMapper.Extension.DependencyInjection 8.1.1
Microsoft.EntityFrameworkCore 5.0.11
Microsoft.EntityFrameworkCore.Sqlite.Core 5.0.11
Expected behavior
Query should be correctly translated. I notice if I map data without ProjectTo, it works.
Actual behavior
The LINQ expression 'dtoRole' could not be translated
Steps to reproduce
Beta Was this translation helpful? Give feedback.
All reactions