Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Serializer] Fix denormalize constructor arguments#52578
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
[Serializer] Fix denormalize constructor arguments#52578
Uh oh!
There was an error while loading.Please reload this page.
Conversation
mtarld commentedNov 14, 2023
fabbot errors aren't related. |
7be2684 to1ad0eccCompareUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
nicolas-grekas left a comment
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.
LGTM after minor changes
1ad0ecc to8f7c7aeComparenicolas-grekas commentedNov 20, 2023
Thank you@mtarld. |
nicolas-grekas commentedNov 20, 2023
@mtarld could you please have a look at the current failures on branch 6.3 for Serializer? I need help to resolve them after the merge up 🙏 |
mtarld commentedNov 21, 2023
Sorry@nicolas-grekas I'm in a different timezone, so I hadn't time to take of it. But the fix provided by@xabbuh in#52665 is good (it's the one I already had on my local machine) |
Since this PR:#51907, objects with partial constructor parameters were wrongly instantiated.
This PR fixes that issue by delegating the properties values assignment, by unsetting normalized data only when the constructor has been called properly.
This might correct#50759 as well.