MapsterMapper / Mapster

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

Add extension method for adding IMapper to service collection #516

Closed stormaref closed 1 year ago

stormaref commented 1 year ago

I think this method is crucial when a developer is trying to migrate from AutoMapper to Mapster I created a test method for this feature that ran successfully and placed it in the dependency injection tests

andrerav commented 1 year ago

Good stuff @stormaref, thank you!

stormaref commented 1 year ago

Hi when you gonna release his version? should I change the assembly version by myself?

andrerav commented 1 year ago

Hi @stormaref apologies, I honestly thought I had already released a pre-release package that included this functionality. but obviously I did not :) Will push a pre-release package this evening! Thank you for your patience :)

stormaref commented 1 year ago

I'm looking forward for this Also please take a look at this https://github.com/MapsterMapper/Mapster/pull/533 I think it would come in handy

angusgajurel commented 10 months ago

Does this extension work for the Interface in the different project??

stormaref commented 10 months ago

Does this extension work for the Interface in the different project??

What exactly do you mean?