Skip to content

Commit

Permalink
bug #314 Add backward compatibility for old refund buses (Tomanhez)
Browse files Browse the repository at this point in the history
This PR was merged into the 1.0-dev branch.

Discussion
----------

Based on configuration: https://github.com/Sylius/Sylius/blob/master/src/Sylius/Bundle/CoreBundle/Resources/config/app/messenger.yaml

Commits
-------

45eaeef Add backward compatibility for old buses
  • Loading branch information
GSadee authored Jun 17, 2021
2 parents 2c98749 + 45eaeef commit 3cb046e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Resources/config/app/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,14 @@ sylius_mailer:
framework:
messenger:
buses:
sylius.command_bus:
sylius.command_bus: &command_bus
middleware:
- 'validation'
- 'doctrine_transaction'
sylius.event_bus:
sylius.event_bus: &event_bus
default_middleware: allow_no_handlers
sylius_refund_plugin.command_bus: *command_bus
sylius_refund_plugin.event_bus: *event_bus

winzou_state_machine:
sylius_refund_refund_payment:
Expand Down

0 comments on commit 3cb046e

Please sign in to comment.