Another AutoMapperMappingException with Nullable Types


I found another bug concerning mapping nullable types with AutoMapper. I'm using the latest release (r87). It looks like simple mappings work correctly with nullable types, but mappings from a nullable property on one class to a property of a nested class in the target class does not work. I've attached a simple NUnit test fixture to demonstrate the bug.

file attachments

Closed Jul 7, 2009 at 11:44 PM by jbogard
Right now AutoMapper does not support un-flattening like this. This should really be a configuration error, you cannot configure anything but members on the configured type, not members on other types.