Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
Autoconfigure instances of ArgumentValueResolverInterface#23719
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
chalasr commentedJul 31, 2017
This is a new feature so it must target 3.4. |
BPScott commentedJul 31, 2017 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Ah rats, I was in two minds about if this constituted a new feature or a bug. I leant towards bug for 3.3.x as I hoped this could be interpreted as "it should have been there at the start but it was missed". What do you reckon@weaverryan? |
fabpot commentedAug 1, 2017
@BPScott Even if it should have been part of 3.3, we missed that and Symfony is perfectly usable without it. So, that qualifies as a new feature. |
Add the controller.argument_value_resolver tag to instances ofArgumentValueResolverInterface
BPScott commentedAug 1, 2017
nicolas-grekas commentedAug 3, 2017
Thank you@BPScott. |
…ace (BPScott)This PR was merged into the 3.4 branch.Discussion----------Autoconfigure instances of ArgumentValueResolverInterface| Q | A| ------------- | ---| Branch? | 3.4| Bug fix? | no| New feature? | yes| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets |#23701| License | MIT| Doc PR | n/aAutoconfigure instances of `Symfony\Component\HttpKernel\Controller\ArgumentValueResolverInterface` so they get the `controller.argument_value_resolver` tag automatically added to them.This avoids avoid having to tag each resolver or add an `_instanceof` configuration such as```yaml_instanceof: Symfony\Component\HttpKernel\Controller\ArgumentValueResolverInterface: tags: [controller.argument_value_resolver]```Commits-------ee4dc20 Autoconfigure instances of ArgumentValueResolverInterface
Uh oh!
There was an error while loading.Please reload this page.
Autoconfigure instances of
Symfony\Component\HttpKernel\Controller\ArgumentValueResolverInterfaceso they get thecontroller.argument_value_resolvertag automatically added to them.This avoids avoid having to tag each resolver or add an
_instanceofconfiguration such as