pomm-project / pomm-symfony-bridge

Pomm2 shared elements for profiler between Silex and Symfony.
8 stars 17 forks source link

Denormalizer function denormalize is really useful #43

Open stood opened 4 years ago

stood commented 4 years ago

https://github.com/pomm-project/pomm-symfony-bridge/blob/master/sources/lib/Serializer/Normalizer/FlexibleEntityDenormalizer.php

The function denormalize get the Model to construct flexibleEntity, but we have the same result with new ObjectEntity($data)

If we have the same result, the Symfony Serializer enough.

@sanpii ?