Skip to content

Switch to Symfony Messenger#89

Merged
pamil merged 9 commits intoSylius:masterfrom
Zales0123:switch-to-symfony-messenger
Nov 2, 2018
Merged

Switch to Symfony Messenger#89
pamil merged 9 commits intoSylius:masterfrom
Zales0123:switch-to-symfony-messenger

Conversation

@Zales0123
Copy link
Contributor

As Prooph service bus has been deprecated it's a good time to switch to a new, shiny Symfony Messenger Component.

@Zales0123 Zales0123 added Enhancement Minor issues and PRs improving the current solutions (optimizations, typo fixes, etc.). Maintenance Configurations, READMEs, releases, etc. labels Oct 5, 2018
@Zales0123 Zales0123 requested a review from a team October 5, 2018 12:00
@Zales0123 Zales0123 force-pushed the switch-to-symfony-messenger branch 5 times, most recently from fa4d450 to 77dcf2f Compare October 5, 2018 13:50
@Zales0123 Zales0123 force-pushed the switch-to-symfony-messenger branch from 77dcf2f to 814af0b Compare October 31, 2018 11:34
@Zales0123 Zales0123 force-pushed the switch-to-symfony-messenger branch from 814af0b to b5ce796 Compare October 31, 2018 11:40
sylius_refund_event_bus: ~
framework:
messenger:
default_bus: sylius_refund_plugin.command_bus
Copy link
Contributor

Choose a reason for hiding this comment

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

I copy-pasted it into similar PR in InvoicingPlugin, but I think we shouldn't set the default bus for the whole application here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Totally agreed 👍

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've defined the default bus only for the test env. After all, we need this configuration only to be able to inject command bus to Behat contexts. This way it will be possible and also it won't be configured for the whole application 🐃

@pamil pamil merged commit 45fa882 into Sylius:master Nov 2, 2018
@pamil
Copy link
Contributor

pamil commented Nov 2, 2018

Thank you, Mateusz! 🥇

@Zales0123 Zales0123 deleted the switch-to-symfony-messenger branch November 2, 2018 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement Minor issues and PRs improving the current solutions (optimizations, typo fixes, etc.). Maintenance Configurations, READMEs, releases, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants