schmittjoh / serializer

Library for (de-)serializing data of any complexity (supports JSON, and XML)
http://jmsyst.com/libs/serializer
MIT License
2.32k stars 589 forks source link

feat(doctrine): Parse Doctrine Enums types #1463

Closed scyzoryck closed 1 year ago

scyzoryck commented 1 year ago
Q A
Bug fix? no
New feature? yes
Doc updated no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets https://github.com/schmittjoh/serializer/issues/1461, https://github.com/schmittjoh/JMSSerializerBundle/issues/918
License MIT

In ORM 2.11 Doctrine introduced Enum support. Serializer still parses it as integer or string, what is causing errors.

Open questions:

scyzoryck commented 1 year ago

With latest changes: