eav-manager icon indicating copy to clipboard operation
eav-manager copied to clipboard

Serializer fails if an entity is not managed by EAV

Open johnkrovitch opened this issue 5 years ago • 1 comments

When using the serializer into a project using the EAV bundle, the EAV Entity provider fails if an entity is not managed by EAV. It means that all entity/object which should be serialized should be managed by EAV, even if it is not stored in database.

Serialization should be a separate process from database. It could add helper, but it should not fail when deserializing an entity not managed. It should preserve the original behavior of the Symfony serializer.

johnkrovitch avatar Jan 27 '20 16:01 johnkrovitch

In other words, if the EAV needs a normalizer/denormalizer to work as the default serializer, especially with arrays.

johnkrovitch avatar Jan 27 '20 16:01 johnkrovitch