mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
Mapping matrix broken after upgrade to version 3.17.* #7274
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 @bednic on GitHub (Dec 6, 2023).
BC Break Report
Summary
As described in documentation PHP data type
mixedshould be possible map toJSONdatabase type. After upgrading to 3.17.1 version this is not true anymore, and orm:schema-validate writes error because database json can now be mapped only to PHP array data type. Thus I lost posibility to use PHP mixed data type.Previous behavior
Map PHP mixed data type to database JSON type.
Current behavior
ORM schema validation shows errors, because database JSON type can be mapped only to PHP array data type.
How to reproduce
@greg0ire commented on GitHub (Dec 6, 2023):
Is this fixed by #11076?
@bednic commented on GitHub (Dec 7, 2023):
Yes, thanks! I'm closing this issue then.