[MODM-93] YAML and XML mapping drivers ignore discriminatorField and discriminatorMap Created: 24/Oct/10 Updated: 24/Nov/10 Resolved: 24/Nov/10
|Project:||Doctrine MongoDB ODM|
|Affects Version/s:||1.0.0ALPHA1, 1.0.0ALPHA2, 1.0.0BETA1, 1.0.0BETA2|
|Fix Version/s:||1.0.0ALPHA1, 1.0.0ALPHA2, 1.0.0BETA1, 1.0.0BETA2|
|Reporter:||Dan Ordille||Assignee:||Jonathan H. Wage|
The discriminatorField and discriminatorMap options are ignored by both the YAML and XML drivers.
I think that this is also a problem for referenced documents as well, as the code for the two is nearly identical.
I refactored addEmbedMapping and addReferenceMapping to call the same function addDocumentMapping
|Comment by Jonathan H. Wage [ 24/Nov/10 ]|
Merged! Thanks for the fix!