Skip to content

[Messenger] Document serializedTypeName option in AsMessage attribute - #21844

Merged
javiereguiluz merged 1 commit into
symfony:8.1from
lacatoire:docs/messenger-custom-serialized-type
Feb 5, 2026
Merged

[Messenger] Document serializedTypeName option in AsMessage attribute#21844
javiereguiluz merged 1 commit into
symfony:8.1from
lacatoire:docs/messenger-custom-serialized-type

Conversation

@lacatoire

Copy link
Copy Markdown
Contributor

This PR documents the new serializedTypeName option of the #[AsMessage] attribute, introduced in Symfony 8.1.

This option allows customizing the type header of serialized messages, improving interoperability with non-Symfony applications or systems using different naming conventions.

Fixes #21793

Comment thread messenger.rst Outdated
@lacatoire
lacatoire force-pushed the docs/messenger-custom-serialized-type branch from 5bf7179 to 0d07586 Compare February 3, 2026 09:42
Comment thread messenger.rst Outdated
@javiereguiluz
javiereguiluz force-pushed the docs/messenger-custom-serialized-type branch from 8c939b0 to fac36d9 Compare February 5, 2026 09:54
@javiereguiluz

Copy link
Copy Markdown
Member

A very nice contribution. I didn't change a single character while merging. Thanks!

@javiereguiluz
javiereguiluz merged commit 9ab3387 into symfony:8.1 Feb 5, 2026
3 checks passed
@lacatoire
lacatoire deleted the docs/messenger-custom-serialized-type branch February 5, 2026 18:27
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.

4 participants