-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
#[ORM\Embedded]
protected MyEmbed $obj;Results in:
In EntityGenerator.php line 114:
Warning: Undefined array key "obj"
It seems that embeddables are not supported currently, but neither are they skipped, and it fails here:
doctrine-entities-generator-bundle/src/EntityGenerator/EntityGenerator.php
Lines 113 to 115 in 4cccef6
| if ($metadata->hasField($property)) { | |
| $this->addField($request, $metadata->fieldMappings[$property]); | |
| } elseif ($metadata->hasAssociation($property)) { |
because hasField is:
return isset($this->fieldMappings[$fieldName]) || isset($this->embeddedClasses[$fieldName])Metadata
Metadata
Assignees
Labels
No labels