Skip to content
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

[Mailer] Add a way to inject Stamps when sending an email via Messenger #47191

Merged
merged 1 commit into from Aug 5, 2022

Conversation

fabpot
Copy link
Member

@fabpot fabpot commented Aug 4, 2022

Q A
Branch? 6.2
Bug fix? no
New feature? yes
Deprecations? no
Tickets n/a
License MIT
Doc PR

In #47190, we add a way to add a specific stamp to the message sent to the Messenger bus.
I think we should make this possibility more generic.

@derrabus
Copy link
Member

derrabus commented Aug 4, 2022

The test failure looks related though.

@fabpot fabpot merged commit aea5200 into symfony:6.2 Aug 5, 2022
@fabpot fabpot deleted the mailer-bus-stamps branch August 5, 2022 06:01
@fabpot fabpot mentioned this pull request Oct 24, 2022
fabpot added a commit that referenced this pull request Oct 26, 2022
This PR was merged into the 6.2 branch.

Discussion
----------

[Mailer] Fix BC breaking event name change

| Q             | A
| ------------- | ---
| Branch?       | 6.2
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #47989, Fix #47383
| License       | MIT
| Doc PR        | -

While I get the motivation for introducing this `QueuingMessageEvent` child event in #47191, it's a BC break that is difficult to circumvent due to the fact it's an event (the parent may still be used as it's not deprecated).
So I propose to revert its addition and just add the needed stamp-related methods to the original event instead.

Commits
-------

cb64938 [Mailer] Fix BC breaking event name change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants