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

[Messenger] Don't mark EnvelopeAwareExceptionInterface internal #54859

Merged
merged 1 commit into from
May 7, 2024

Conversation

valtzu
Copy link
Contributor

@valtzu valtzu commented May 7, 2024

Q A
Branch? 7.1
Bug fix? no
New feature? yes
Deprecations? no
License MIT

As discussed here, let's expose EnvelopeAwareExceptionInterface to allow custom Messenger middlewares throw a custom exception without causing stamps from previous middlewares being dropped.

@valtzu valtzu force-pushed the expose-envelope-aware-interface branch from 846a35f to 7713fd1 Compare May 7, 2024 09:30
@fabpot
Copy link
Member

fabpot commented May 7, 2024

Do we also want to remove the @internal tag for EnvelopeAwareExceptionTrait?

@valtzu
Copy link
Contributor Author

valtzu commented May 7, 2024

Do we also want to remove the @internal tag for EnvelopeAwareExceptionTrait?

Either way, I don't mind – but f.e. WrappedExceptionsTrait is internal while WrappedExceptionsInterface is not

@fabpot
Copy link
Member

fabpot commented May 7, 2024

Thank you @valtzu.

@fabpot fabpot merged commit 5a00a8b into symfony:7.1 May 7, 2024
3 of 10 checks passed
@fabpot fabpot mentioned this pull request May 17, 2024
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