TYPO3-Documentation/TYPO3CMS-Book-ExtbaseFluid

"Modeling the Class Hierarchy": TypoScript configuration not possible with TYPO3 v10

cweiske opened this issue · 3 comments

Lol, i just noticed that too.
The Docu is up-to-date on master though - https://docs.typo3.org/m/typo3/book-extbasefluid/master/en-us/6-Persistence/5-modeling-the-class-hierarchy.html

So i don't know how that is handled, but the basic docs are existent, just missing in the v10 version

What could also be noted is the following example:

MyVendor\MyExtension\Domain\Model\Organization {
   mapping {
      tableName = tx_myextension_domain_model_party
      columns {
         title.mapOnProperty = title
      }
   }
}
\MyVendor\MyExtension\Domain\Model\Organization::class => [
    'tableName' => 'tx_myextension_domain_model_party',
    'properties' => [
        'title' => [
            'fieldName' => 'title'
        ],
    ],
];

@linawolf hi - i guess this could be closed now after you applied my patch?