Closed JKamsker closed 2 years ago
Somebody already did that. There is an overload that works a lot like what you did here.
@lbargaoanu Could you please reference the overload you mean?
I'm afraid they all have the same name. You'll just have to look for it.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
I have a mechanism, which requires dynamic mapping generation during setup. I have fixed it for me but i'd love to see it in the package. So here is what i did:
Instead of ServiceCollectionExtensions.cs#L106#L111
And
This allows me to call
IServiceCollection.AddMapping(cfg => )
, which will then be included in the Mapping initialization process. LMK if you want me to do a PR.