GenericServices
GenericServices copied to clipboard
Does not work with AutoMapper 5
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.
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.
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(: