Open DanielSiepmann opened 9 months ago
The documentation at https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ExtensionArchitecture/Extbase/Reference/Domain/Model.html is a bit misleading: The following sections all contain relations via ObjectStorage but without proper type annotation of the foreign model class. Developers only reading that part might get the feeling (see cms support channel in Slakc) that the annotation is no longer necessary:
The code examples should be working code with a proper example model annotation.
12
Extend the code example
Add any other context or screenshots about your proposal here.
Thanks for reporting this @DanielSiepmann. Could you imagine improvint the examples?
Current behavior
The documentation at https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ExtensionArchitecture/Extbase/Reference/Domain/Model.html is a bit misleading: The following sections all contain relations via ObjectStorage but without proper type annotation of the foreign model class. Developers only reading that part might get the feeling (see cms support channel in Slakc) that the annotation is no longer necessary:
Expected behavior/output
The code examples should be working code with a proper example model annotation.
Links
TYPO3 versions
12
Possible Solution
Extend the code example
Additional context
Add any other context or screenshots about your proposal here.