-
Notifications
You must be signed in to change notification settings - Fork 337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IgnoreNonMapped is ignored when using RequireDestinationMemberSource #413
Comments
@andrerav does this project participate in hacktoberfest ? There are some issues that the community could help out with. |
UP |
That is still happening. |
@andrerav I think it is related to setting contradictory instructions) This setting needs to be renamed. If that's what it's supposed to be. .IgnoreNonMapped(true) != Ignore(all property) All properties remain in the mapping processing -> not map by default, not manual map -> Exception |
I have the following config:
When I now use
config.Compile()
to check the configurations I get an exception that on mapping DataRow to Document all properties (except Id of course) where neither configured to be mapped or ignored. My workaround for now is to use.RequireDestinationMemberSource(false)
just for this one mapping, but shouldn'tIgnoreNonMapped
still work as inteded when usingRequireDestinationMemberSource = true
?The text was updated successfully, but these errors were encountered: