try-catch-FAIL

Failure is inevitable

NAVIGATION - SEARCH

Heroic.AutoMapper 3.0 (Almost) Released

It's release candidate time (finally): you can now use AutoMapper 5 with Heroic.AutoMapper!


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!

About Matt Honeycutt...

Matt Honeycutt is a software architect specializing in ASP.NET web applications, particularly ASP.NET MVC. He has over a decade of experience in building (and testing!) web applications. He’s an avid practitioner of Test-Driven Development, creating both the SpecsFor and SpecsFor.Mvc frameworks.

He's also an author for Pluralsight, where he publishes courses on everything from web applications to testing!

blog comments powered by Disqus