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

EntityRepositoryInterface is deprecated #4

Closed
Tracked by #2
openmindculture opened this issue Jun 21, 2022 · 2 comments
Closed
Tracked by #2

EntityRepositoryInterface is deprecated #4

openmindculture opened this issue Jun 21, 2022 · 2 comments

Comments

@openmindculture
Copy link
Owner

Shopware "deprecated EntityRepositoryInterface, the class will be removed with next major, type hint with EntityRepository instead".
https://github.com/shopware/platform/blob/0e704e58bdb4b22bd611a5f2fe66d24c9c36a6a4/changelog/_unreleased/2022-05-23-internal-repositories.md

@openmindculture
Copy link
Owner Author

But EntityRepository is also deprecated or so it seems.
Screenshot of deprecation note

use Shopware\Core\Framework\DataAbstractionLayer\EntityRepository;

gives

Class 'EntityRepository' is deprecated

@openmindculture
Copy link
Owner Author

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

1 participant