Hello,
AbstractObjectNormalizer
has a long list of ongoing issues and pull request, we got a talk at Paris Symfony Live with @dunglas @fbourigault and @soyuka on how we want to move forward, here is a resume of our talk and what we would like to achieve for the future:
At the origin this normalizer was done for API Platform and many other third party libraries / project, in order to have a normalizer that is able to normalize and denormalize any data object (specifically doctrine entities). ObjectNormalizer
, PropertyNormalizer
and GetSetMethodNormalizer
were already existing, but were having slightly different beahvior, that's why two abstract class were created AbstractNormalizer
and AbstractObjectNormalizer
Over time, lots of missing features in the ObjectNormalizer were added on both the AbstractObjectNormalizer and the AbstractNormalizer as these features were also needed there.