Replies: 1 comment 2 replies
-
Try the MyGet build. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Version: x.y.z
Automapper 10.1.1
Expected behavior
Regardless of order, fields should be mapped consistently.
Actual behavior
If derived class goes first, mapping works correctly for this and all further mappings.
If derived class goes after base class, mapping works incorrectly for this array and any other array afterwards (I assume it just caches the incorrect plan).
Steps to reproduce
Here is the Fiddle to reproduce.
Just change
works
todoesNotWork
on line 27 to reproduce the issue. NoticeAdditionalProperty
value in the output.Beta Was this translation helpful? Give feedback.
All reactions