Allow mapping-by-constructor to be disabled via configuration #192

Closed
wants to merge 1 commit into
from

3 participants

@pmarflee

I've added a method to the Mapper configuration that allows mapping-by-constructor to be disabled. While a useful feature, it would be helpful if it could be disabled and for the parameterless constructor to always be used to construct an object. Mapping-by-constructor remains on by default so this is not a breaking change.

Paul

@RossMerr

+1 this is a good idea for anyone that might me migrating from v1 to v2 and not expecting the greedy constructor mapping

@jbogard jbogard added a commit that closed this pull request Apr 29, 2012
@pmarflee pmarflee Added a global configuration setting that allows mapping-by-construct…
…or to be disabled

Closes #192
114fe92
@jbogard jbogard closed this in 114fe92 Apr 29, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment