Skip to content

Commit

Permalink
Merge pull request #4390 from AutoMapper/lbargaoanu-patch-1
Browse files Browse the repository at this point in the history
Reverted the nullable annotations
  • Loading branch information
jbogard committed Feb 8, 2024
2 parents f137534 + 7cc31ed commit 50747ca
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 59 deletions.
6 changes: 1 addition & 5 deletions docs/source/13.0-Upgrade-Guide.md
Expand Up @@ -6,10 +6,6 @@

## `AddAutoMapper` is part of the core package and the DI package is discontinued

## `IMapper` has nullable annotations

Besides the build-time impact, there is also a behaviour change. Non-generic `Map` overloads require now either a destination type or a non-null destination object.

## `AllowAdditiveTypeMapCreation` was removed

Be sure to call `CreateMap` once for a source type, destination type pair. If you want to reuse configuration, use mapping inheritance.
Expand All @@ -24,4 +20,4 @@ The same pattern the framework uses to pass state to delegates. Note that `State

## Custom Equals/GetHashCode for source objects

To avoid broken implementations, we no longer call those when checking for identical source objects, we hard code to checking object references.
To avoid broken implementations, we no longer call those when checking for identical source objects, we hard code to checking object references.

0 comments on commit 50747ca

Please sign in to comment.