You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Serializer] PartialDenormalizationException not thrown or not collecting all Exceptions if other Denormalizer are called during denormalizing (e.g. DateTimeNormalizer) #59721
Denormalizing an erroneous object that has one ore more non-scalar types in it's class definition can cause losing any or all Exception caught in a PartialDenormalizationException or the entire exception itself.
results in a PartialDenormalizationException but with only 1 error instead of 2.
This can also be the case if you use an enum in your DTO.
Removing $createdAt from the constructor and denormalize [] as data would result in a PartialDenormalizationException with the error NotNormalizeableValueException, which is correct.