It’s release candidate time (finally): you can now use AutoMapper 5 with Heroic.AutoMapper!
[more]
The good news is that you can, finally, use Heroic.AutoMapper with the latest and greatest version of AutoMapper. The bad news is that you will have to update your apps! AutoMapper made several breaking changes from 4.2 to 5.2, and those changes will require you to update anything that implements the IHaveCustomMappings
interface.
The changes are straight find-and-replace though. From the readme:
The following simple find-and-replace operations will fix your existing code:
"CreateMappings(IConfiguration" => "CreateMappings(IMapperConfigurationExpression"
"CreateMappings(IMapperConfiguration" => "CreateMappings(IMapperConfigurationExpression"
Ready to upgrade? Just install with the -pre flag:
Install-Package Heroic.AutoMapper -Pre
As always, let me know if you have issues on the GitHub project page!