Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[HttpKernel] Add tests for#[TaggedIterator] &#[TaggedLocator] on controller arguments#49500
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
[HttpKernel] Add tests for#[TaggedIterator] &#[TaggedLocator] on controller arguments#49500
Uh oh!
There was an error while loading.Please reload this page.
Conversation
nicolas-grekas left a comment• 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.
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.
Thanks.
Can you please let me know if#[Autowire(new TaggedLocator(...))] (or#[Autowire(new ServiceLocatorArgument())] I don't remember) works?
187fa79 to09f38cfCompareHypeMC commentedFeb 22, 2023
@nicolas-grekas No, neither work. As far as I can tell, the |
HypeMC commentedFeb 22, 2023 • 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.
Funny thing, this does seem to work: #[Autowire([newServiceLocatorArgument(newTaggedIteratorArgument(...)),newTaggedIteratorArgument(...)])] In this case, the argument is an array with a service locator and an iterator. |
09f38cf to226cb98Comparenicolas-grekas commentedMar 9, 2023
226cb98 to8900199Compare#[TaggedIterator] &#[TaggedLocator] with controller arguments#[TaggedIterator] &#[TaggedLocator] on controller argumentsHypeMC commentedMar 9, 2023
@nicolas-grekas Yep,#49628 fixed the problem. I've removed all my changes except the test cases as this particular functionality isn't covered anywhere. |
…or] on controller arguments
8900199 to121e072Compare#[TaggedIterator] &#[TaggedLocator] on controller arguments#[TaggedIterator] &#[TaggedLocator] on controller arguments#[TaggedIterator] &#[TaggedLocator] on controller arguments#[TaggedIterator] &#[TaggedLocator] on controller argumentsnicolas-grekas commentedMar 10, 2023
Thank you@HypeMC. |
Uh oh!
There was an error while loading.Please reload this page.
I think this doesn't qualify as a bug fix, but an improvement. If I'm wrong please let me know.#49628 fixed the issue, this PR only adds tests now.