The Wayback Machine - https://web.archive.org/web/20220809173221/https://github.com/symfony/symfony/pull/46511
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

[Serializer] Added missing __call to TraceableNormalizer and TraceableSerializer #46511

Merged
merged 1 commit into from May 30, 2022

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 #46471
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 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

@derrabus derrabus commented May 30, 2022

Thank you @danielburger1337.

@derrabus derrabus merged commit 6311229 into symfony:6.1 May 30, 2022
7 of 9 checks passed
@PierreJoube
Copy link

@PierreJoube PierreJoube commented May 31, 2022

Hi @danielburger1337,

Could you do the same on TraceableEncoder ?

Thank you

@danielburger1337
Copy link
Contributor Author

@danielburger1337 danielburger1337 commented May 31, 2022

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.

None yet

5 participants