-
-
Notifications
You must be signed in to change notification settings - Fork 165
Open
Labels
EnhancementMinor issues and PRs improving the current solutions (optimizations, typo fixes, etc.).Minor issues and PRs improving the current solutions (optimizations, typo fixes, etc.).FeatureNew feature proposals.New feature proposals.
Description
Description
Hi,
I just noticed that e.g. in the ProductRepositoryInterface the method createQueryBuilder is not defined. It's available though via ResourceRepositoryTrait in most/all resources.
I have an implementation (https://github.com/stefandoorn/sitemap-plugin/blob/master/src/Provider/Data/ProductDataProvider.php#L23) where I would like to use an interface though, as currently I only see an option to have the actual implementation as a dependency in the constructor.
Could this method be added to more interfaces (I see some have it) and if not, what would be my best solution here to ensure an interface can be used instead of a concrete implementation?
Example
No response
PrometeePrometee
Metadata
Metadata
Assignees
Labels
EnhancementMinor issues and PRs improving the current solutions (optimizations, typo fixes, etc.).Minor issues and PRs improving the current solutions (optimizations, typo fixes, etc.).FeatureNew feature proposals.New feature proposals.