geoffreywiseman/Moo — Issue #75: Allow 'Factory' Creation of Destination Objects
Author: geoffreywiseman
Created: 2011-12-30 15:46:20+00:00
State: open

When the destination type is the super-type of a hierarchy of which there are a number of children, and the child to be used is dependent on the source object, there's no way for Moo to determine which type should be created to correspond to the supplied source.

Accordingly, it would be nice if Moo could be configured to delegate creation to user-developed factory that could take on the responsibility of deciding which type to create.