Replies: 1 comment
-
Check the tests in the DI repo for working code. |
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:
AutoMapper 10.1.1
AutoMapper.Extensions.Microsoft.DependencyInjection 8.1.1
Expected behavior
Map EntityA to DerivedEntityB
Actual behavior
No parameterless constructor defined for type {value resolver}.
The service is not resolved. I tried to use a ValueConverter before because of the base class but got the same result. Dependency injection is done with .net core default mechanism.
Steps to reproduce
Beta Was this translation helpful? Give feedback.
All reactions