-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[Serializer] improve documentation of default_context for the serializer #17305
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
c50a05b
to
002b0ed
Compare
build should get green when retrying, as the code is now merged to 6.2. |
Please also adjust the title of the PR after rebasing, thanks |
199be2e
to
d0743d8
Compare
rebased, cleaned up and adjusted the title. regarding the linter failure: looks like thats broken in all 6.x versions: https://github.com/symfony/symfony-docs/actions/runs/3160768594/jobs/5145596113 can you fix that in 6.0 and then merge it up to 6.1 and 6.2? or we just merge with the known error... |
|
||
return static function (FrameworkConfig $framework) { | ||
$framework->serializer() | ||
->defaultContext([ | ||
AbstractObjectNormalizer::ENABLE_MAX_DEPTH => true | ||
AbstractObjectNormalizer::ENABLE_MAX_DEPTH => true, | ||
YamlEncoder::YAML_INDENTATION => 2, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is a build failure about this, but i don't understand it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any idea @Nyholm
d0743d8
to
852aa11
Compare
additional info for #17310
fix #17306
the code example will only work once symfony/symfony#47243 is merged