Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missleading examples on Extbase ObjectStorage #3887

Open
DanielSiepmann opened this issue Jan 16, 2024 · 1 comment
Open

Missleading examples on Extbase ObjectStorage #3887

DanielSiepmann opened this issue Jan 16, 2024 · 1 comment

Comments

@DanielSiepmann
Copy link
Member

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.

@linawolf
Copy link
Member

Thanks for reporting this @DanielSiepmann. Could you imagine improvint the examples?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants