mirror of
https://github.com/doctrine/orm.git
synced 2026-04-29 01:13:14 +02:00
JSON field mapping validation #7250
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 @norkunas on GitHub (Nov 20, 2023).
Bug Report
Summary
After #10946 when linting entities started getting:
JSON is not only array, but also can be a string or a number.
Current behavior
Wrong validation
How to reproduce
Declare json columns with other than array type.
Expected behavior
No errors
@greg0ire commented on GitHub (Nov 20, 2023):
Cc @DavideBicego
@derrabus commented on GitHub (Nov 20, 2023):
… or a boolean. 🤓