Skip to content

Update custom_normalizer.rst #17996

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

Closed
wants to merge 1 commit into from
Closed

Update custom_normalizer.rst #17996

wants to merge 1 commit into from

Conversation

gbere
Copy link
Contributor

@gbere gbere commented Mar 3, 2023

From Symfony 6.1 if uses ObjectNormalizer on constructor throw the error: App\Serializer\Normalizer\DescriptionNormalizer::__construct(): Argument 1 ($normalizer) must be of type Symfony\Component\Serializer\Normalizer\ObjectNormalizer, Symfony\Component\Serializer\Debug\TraceableNormalizer given

From Symfony 6.1 if uses ObjectNormalizer on constructor throw the error: App\Serializer\Normalizer\DescriptionNormalizer::__construct(): Argument symfony#1 ($normalizer) must be of type Symfony\Component\Serializer\Normalizer\ObjectNormalizer, Symfony\Component\Serializer\Debug\TraceableNormalizer given
@carsonbot
Copy link
Collaborator

Hey!

Oh no, it looks like you have made this PR towards a branch that is not maintained anymore. :/
Could you update the PR base branch to target one of these branches instead? 5.4, 6.2, 6.3.

Cheers!

Carsonbot

@carsonbot carsonbot added this to the 6.1 milestone Mar 3, 2023
@gbere gbere changed the base branch from 6.1 to 6.2 March 3, 2023 12:00
@gbere
Copy link
Contributor Author

gbere commented Mar 3, 2023

Circular reference detected error if no adds custom services.yml

@gbere gbere closed this Mar 3, 2023
@gbere gbere deleted the patch-3 branch March 3, 2023 18:31
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