-
-
Notifications
You must be signed in to change notification settings - Fork 927
[RFR] Improve autowiring #1152
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
[RFR] Improve autowiring #1152
Conversation
@@ -13,6 +13,11 @@ | |||
|
|||
namespace ApiPlatform\Core\Bridge\Symfony\Bundle\DependencyInjection; | |||
|
|||
use ApiPlatform\Core\Bridge\Doctrine\Orm\Extension\QueryCollectionExtensionInterface; | |||
use ApiPlatform\Core\Bridge\Doctrine\Orm\Extension\QueryItemExtensionInterface; | |||
use ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\FilterInterface; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be ApiPlatform\Core\Api\FilterInterface
.
@@ -13,14 +13,20 @@ | |||
|
|||
namespace ApiPlatform\Core\Tests\Bridge\Symfony\Bundle\DependencyInjection; | |||
|
|||
use ApiPlatform\Core\Bridge\Doctrine\Orm\Extension\QueryCollectionExtensionInterface; | |||
use ApiPlatform\Core\Bridge\Doctrine\Orm\Extension\QueryItemExtensionInterface; | |||
use ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\FilterInterface; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be ApiPlatform\Core\Api\FilterInterface
.
I'm just thinking about something: filters require |
It's not required anymore because of #862. |
Most of the filters you'd declare in your app are from API Platform anyway, so PSR-4 service discovery and autowiring (there's nothing to be wired up) doesn't really help. |
Thank you @vincentchalamon! |
[RFR] Improve autowiring
Uh oh!
There was an error while loading. Please reload this page.