Skip to content

edit normalizer deprecated method on 4.2 #11394

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

Conversation

Raulnet
Copy link
Contributor

@Raulnet Raulnet commented Apr 10, 2019

i have added documentation for deprecated method in Normalizer
Symfony\Component\Serializer\Normalizer\AbstractNormalizer::setCallbacks
Symfony\Component\Serializer\Normalizer\AbstractNormalizer::setCircularReferenceLimit
Symfony\Component\Serializer\Normalizer\AbstractNormalizer::setMaxDepthHandler

And edit the code for the new params declaration;
And move the text ..deprecated 4.2 ... below the demo code for more consistency

@wouterj wouterj merged commit f02e6fd into symfony:4.2 Jun 1, 2019
wouterj added a commit that referenced this pull request Jun 1, 2019
This PR was merged into the 4.2 branch.

Discussion
----------

edit normalizer deprecated method on 4.2

i have added documentation for deprecated method in Normalizer
`Symfony\Component\Serializer\Normalizer\AbstractNormalizer::setCallbacks`
`Symfony\Component\Serializer\Normalizer\AbstractNormalizer::setCircularReferenceLimit`
`Symfony\Component\Serializer\Normalizer\AbstractNormalizer::setMaxDepthHandler`

And edit the code for the new params declaration;
And move the text `..deprecated 4.2 ...` below the demo code for more consistency

Commits
-------

f02e6fd edit normalizer deprecated method on 4.2
@wouterj
Copy link
Member

wouterj commented Jun 1, 2019

Thanks @Raulnet for this PR! I'm sorry it took soo long before we merged this one, we still greatly appreciate it :).

Meanwhile, some other PRs already fixed some cases fixed by this PR. However, the max depth was not yet covered and I liked some of the other improvements you made (with the circular reference depth). So I've carefully merged those changes into the docs. Thanks again!

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.

4 participants