-
-
Notifications
You must be signed in to change notification settings - Fork 240
Add priority field to processor tags #485
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
Conversation
|
@alexndlm Did you review and test the change in your projects? I agree that we should try to get it merged. |
|
Of course not, I have unlimited trust in Symfony 😎 But I will do this soon to double-check. |
Thank you! I personally don't need this feature at the moment. So getting feedback from someone who'd actually use it is more than valuable to us. |
|
Looks like PR is needed for symfony/symfony#54445? |
|
@nicolas-grekas no. this PR does not affect the Symfony PR (see my comment on the Symfony PR) |
|
@derrabus I have tested it, and it works perfectly |
|
@derrabus, my bad, it does not work; I have found one issue. When we add some processor only for channel And in So, when DI create The same issue should be for any channel. |
|
@HypeMC, do you have time to fix this? |
@alexndlm Sorry for the late reply, I missed your feedback. The issue should be fixed with 1ad6fc7. |
5c3db6c to
4c1bd07
Compare
4c1bd07 to
f7038da
Compare
514aa72 to
62fae47
Compare
GromNaN
left a comment
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.
LGTM, with some improvement that can be done later.
|
Thank you @HypeMC. |
…n tag attributes are not a list (GromNaN) This PR was merged into the 7.3 branch. Discussion ---------- [DependencyInjection] Fix `PriorityTaggedServiceTrait` when tag attributes are not a list | Q | A | ------------- | --- | Branch? | 7.3 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | - | License | MIT Alternative to #62683 Ensure the attributes of the tag are in a list before iterating on them using sequential indexes. > In symfony/monolog-bundle#485, the tag attributes are filtered, which generates gaps in the keys. The PR mentioned above causes MonologBundle to fail. This can be fixed by symfony/monolog-bundle#563. However I believe the issue should also be addressed in Symfony. Commits ------- 5a4a036 [DependencyInjection] Fix PriorityTaggedServiceTrait when tag attributes are not a list
Continuation of #455.
Probably better to review with whitespace changes ignored.