Details
-
Type:
Task
-
Status:
Resolved
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 1.0.0BETA1
-
Fix Version/s: 1.0.0BETA2
-
Component/s: Mapping Drivers
-
Labels:None
-
Environment:CentOS 5.5 PHP 5.3.3
Description
Please correct me if i'm wrong but it looks like that current implementation of XmlDriver does not support the following feature:
"discriminatorMap" for "EmbedMany"
<?php
class User
{
/**
- @EmbedMany(
- discriminatorMap= { * "download"="DownloadTask", * "build"="BuildTask" * }
- )
*/
private $tasks = array();
}
This feature is very important for our project and without it looks like that we have to move to Docblock annotations instead of XML format which could be rather painful and time consuming.
It looks like it is just missing. I'd be happy to accept a patch if you can provide one