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

FilterEagerLoadingExtension dependency problem #2666

Closed
strider2038 opened this issue Mar 28, 2019 · 2 comments
Closed

FilterEagerLoadingExtension dependency problem #2666

strider2038 opened this issue Mar 28, 2019 · 2 comments
Labels

Comments

@strider2038
Copy link

We have decorated class ResourceClassResolver in our project. After update to v2.4 we have issues with dependency injection of ResourceClassResolver in FilterEagerLoadingExtension

https://github.com/api-platform/core/blob/master/src/Bridge/Doctrine/Orm/Extension/FilterEagerLoadingExtension.php#L35

I think it is good to use ResourceClassResolverInterface in FilterEagerLoadingExtension instead of conrete final class ResourceClassResolver.

@antograssiot
Copy link
Contributor

antograssiot commented Mar 28, 2019

Indeed my bad, would you mind opening a PR ?
I can fix it tonight if not...

@antograssiot
Copy link
Contributor

Closing as there is an open PR to fix it

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

No branches or pull requests

3 participants