mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
Upgrade to newer version breaks API using Enums #7010
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @alexander-schranz on GitHub (Jul 20, 2022).
BC Break Report
Summary
I updated our project from the above versions and now the fields using
Enumare in:Previous behavior
The
enumdid return theenumstring not the enum object.Current behavior
The
enumnow returns theenumobject.Which ends when being serialized with JMS serializer into and breaks so the APIs:
How to reproduce
Create a field with enum and select it in previous and current version.