[Repository] Impossible to use a repository that implements ServiceEntityRepositoryInterface
Nek- opened this issue · comments
Maxime Veber commented
Sylius version affected: all
Description
It is possible to use a repository that inherits from ServiceEntityRepository
but not a repository that "just" implements ServiceEntityRepositoryInterface
. Besides it's useful when you already extends from some other base repository.
Steps to reproduce
- Create a repository that implements
ServiceEntityRepositoryInterface
- Use it in the resource bundle config
Possible Solution
Check against the interface instead of the class.