GenericServices icon indicating copy to clipboard operation
GenericServices copied to clipboard

Does not work with AutoMapper 5

Open fhurta opened this issue 9 years ago • 2 comments

GenericServices works with AutoMapper 4.2.1 but there were breaking changes in AutoMapper 5 (5.1.1 in time of writing) - seems the interface IMapperConfiguration has been removed causing exception in the application. It would be nice to update GenericServices to the current version of AutoMapper.

fhurta avatar Oct 04 '16 12:10 fhurta

Hi @fhurta,

Thanks for posting this issue. I had a look and changing IMapperConfiguration would change the overall interface, which isn't cool for people that are using the library already. I am therefore loathed to update GenericServices to AutoMapper 5.

As .NET Core is out future efforts will be a .NET Core version of GenericServices, but EF Core needs to stabilise first (1.1 out around Christmas I think). I have some ideas for improving GenericServices' interface (and I might move away from AutoMapper too).

If this is problem then clearly you can create your own version of GenericServices.

JonPSmith avatar Oct 08 '16 13:10 JonPSmith

I am not going to change the signature of GenericServices fro EF6, but, sometime in the future I plan to write a GenericServices for Entity Framework Core. As I am writing the book Entity Framework Core in Action at the moment, as well as working as a contract lead developer its not going to happen soon(:

JonPSmith avatar Mar 02 '17 19:03 JonPSmith