Closed
Description
Symfony version(s) affected
6.1
Description
My custom Normalizer is broken since i've upgraded to Symfony 6.1.
This problem seems to be related to the new Serializer Profiler.
Maybe I forgot something?
Thanks,
Alex
How to reproduce
Just use this example :
https://symfony.com/doc/6.1/serializer/custom_normalizer.html
Possible Solution
No response
Additional Context
FileNormalizer::__construct(): Argument symfony/symfony#2 ($normalizer) must be of type Symfony\\Component\\Serializer\\Normalizer\\ObjectNormalizer, Symfony\\Component\\Serializer\\Debug\\TraceableNormalizer given