Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #30711 [Serializer] Use object class resolver when extracting att…
…ributes (joelwurtz) This PR was squashed before being merged into the 4.2 branch (closes #30711). Discussion ---------- [Serializer] Use object class resolver when extracting attributes | Q | A | ------------- | --- | Branch? | 4.2 | Bug fix? | yes | New feature? | no | BC breaks? | no (not sure) | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | Current ObjectNormalizer was not using the object class resolver when extracting attributes, i found this when trying to refactor api platform normalizers and dealing with doctrine proxy objet having __initialize__ property not wanted cf api-platform/core#2579 I don't think this is BC break, but maybe some people using this object class resolver can get different behavior ? Commits ------- 1d8b5af [Serializer] Use object class resolver when extracting attributes
- Loading branch information
Showing
2 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters