MapsterMapper / Mapster

A fast, fun and stimulating object to object Mapper
MIT License
4.32k stars 329 forks source link

IRegister in different assemblies not working #637

Open leandrobattochio opened 1 year ago

leandrobattochio commented 1 year ago

Given the following configuration:

image

CompanyMapsterModule belongs to ErgoBackend.Managers.Companies: image

I don't want to explicitly keep declaring mapster modules using apply, so I use the Scan method. But if I don't explicitly include the CompanyMapsterModule, it is never applied because the assembly it is contained is never found in the first place:

image

But it is referenced: image

What am I missing here?