Skip to content

Conversation

danielburger1337
Copy link
Contributor

@danielburger1337 danielburger1337 commented May 30, 2022

Q A
Branch? 6.1
Bug fix? yes
New feature? no
Deprecations? no
Tickets symfony/maker-bundle#1252
License MIT
Doc PR none

Added missing __call method to the new TraceableNormalizer and TraceableSerializer.
This method was forgotten and breaks custom normalizers that have public methods outside of the NormalizerInterface.

This approach is already being used for TreaceableAuthenticator, TraceableEventDispatcher, LoggingTranslator etc...

@chalasr
Copy link
Member

chalasr commented May 30, 2022

Would you mind doing the same on TraceableSerializer?

@danielburger1337 danielburger1337 changed the title Added __call to TraceableNormalizer Added missing __call to TraceableNormalizer and TraceableSerializer May 30, 2022
@carsonbot carsonbot changed the title Added missing __call to TraceableNormalizer and TraceableSerializer [Serializer] Added missing __call to TraceableNormalizer and TraceableSerializer May 30, 2022
@derrabus
Copy link
Member

Thank you @danielburger1337.

@derrabus derrabus merged commit 6311229 into symfony:6.1 May 30, 2022
@PierreJoube
Copy link

Hi @danielburger1337,

Could you do the same on TraceableEncoder ?

Thank you

@danielburger1337
Copy link
Contributor Author

Hi @danielburger1337,

Could you do the same on TraceableEncoder ?

Thank you

#46526

@fabpot fabpot mentioned this pull request Jun 9, 2022
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.

5 participants