Closed
Description
During the denormalization of an object, the AbstractObjectNormalizer do not throw exception when an attribute is not in allowed. As a result I can denormalize an array to an object with not mapped attributes.
I'm currently designing an API.
Users are not allowed to send extra attributes that are not mapped to my class.
I want to throw an exception on this case.
Is it possible to implement this feature inside the Serializer component ?