Skip to content

Conversation

HypeMC
Copy link
Member

@HypeMC HypeMC commented Mar 30, 2025

Q A
Branch? 7.2
Bug fix? yes
New feature? no
Deprecations? no
Issues -
License MIT

An alternative approach to #59627. The main issue is that serializer.normalizer.property isn't tagged with serializer.normalizer, which, to my understanding, was intentional. Since MimeMessageNormalizer depends on it, the same instance of PropertyNormalizer (with the default named converter) is used for every named serializer.

This PR checks the arguments of normalizers and registers a child definition for any argument that is an instance of NormalizerInterface and doesn't have the serializer.normalizer tag.

cc @ruudk

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.

2 participants