Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[API] Explicitly define bus to all handlers#11993

Merged
Zales0123 merged 1 commit into
Sylius:1.8from
lchrusciel:bus-names
Nov 10, 2020
Merged

[API] Explicitly define bus to all handlers#11993
Zales0123 merged 1 commit into
Sylius:1.8from
lchrusciel:bus-names

Conversation

@lchrusciel
Copy link
Copy Markdown
Contributor

@lchrusciel lchrusciel commented Nov 2, 2020

Q A
Branch? 1.8
Bug fix? yes
New feature? no
BC breaks? no (kind of)
Deprecations? no
Related tickets
License MIT

Symfony messenger component will register handlers into all busses if we won't specify it. I would say, that additional busses are common enough, that we should not register our handlers in different busses by default.

Ref. https://symfony.com/doc/current/messenger/multiple_buses.html#restrict-handlers-per-bus

@lchrusciel lchrusciel requested a review from a team as a code owner November 2, 2020 20:30
@Zales0123 Zales0123 added the Bug Confirmed bugs or bugfixes. label Nov 3, 2020
@lchrusciel lchrusciel force-pushed the bus-names branch 4 times, most recently from 36af6b0 to d515ddf Compare November 3, 2020 22:44
Copy link
Copy Markdown
Contributor

@oallain oallain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It fix an issue from my side, thanks !

@lchrusciel lchrusciel changed the base branch from master to 1.8 November 8, 2020 12:24
@lchrusciel lchrusciel closed this Nov 8, 2020
@lchrusciel lchrusciel reopened this Nov 8, 2020
@Zales0123 Zales0123 merged commit acb5844 into Sylius:1.8 Nov 10, 2020
@Zales0123
Copy link
Copy Markdown
Contributor

Thanks, Łukasz! 🎉

@lchrusciel lchrusciel deleted the bus-names branch November 11, 2020 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Confirmed bugs or bugfixes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants