Permalink
Browse files

[DDC-93] Add some TODOs in code.

  • Loading branch information...
beberlei committed Mar 26, 2013
1 parent 0204a8b commit 011776f02ffa279afc0016b2de76b662b87dfc95
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php
@@ -3068,8 +3068,8 @@ public function inlineEmbeddable($property, ClassMetadataInfo $embeddable)
foreach ($embeddable->fieldMappings as $fieldMapping) {
$fieldMapping['declaredField'] = $property;
$fieldMapping['originalField'] = $fieldMapping['fieldName'];
- $fieldMapping['fieldName'] = $property . $fieldMapping['fieldName'];
- $fieldMapping['columnName'] = $property . "_" . $fieldMapping['columnName'];
+ $fieldMapping['fieldName'] = $property . "." . $fieldMapping['fieldName']; // TODO: Change DQL parser to accept this dot notation
+ $fieldMapping['columnName'] = $property . "_" . $fieldMapping['columnName']; // TODO: Use naming strategy
$this->mapField($fieldMapping);
}

0 comments on commit 011776f

Please sign in to comment.