System.NullReferenceException: 'Object reference not set to an instance of an object.' source was null.Issue: AutoMapperMappingException after migrating from AutoMapper to Mapperly in ABP (.NET 9 → .NET 10)
Exception message and stack trace
AutoMapper.AutoMapperMappingException
HResult=0x80131500
Message=Missing type map configuration or unsupported mapping.
Source=AutoMapper
StackTrace: <Cannot evaluate the exception stack trace>
Steps to reproduce
Observed behavior
ObjectMapper.Map<TSource, TDestination>(), I get the AutoMapperMappingException shown above.Expected behavior
ObjectMapper.Map (ABP’s abstraction) instead of injecting individual Mapperly mapper classes everywhere.Question
ObjectMapper.Map works as expected in ABP?ObjectMapper resolve Mapperly-based mappers instead of falling back to AutoMapper?