mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
Typed Property Defaults: problem with nullable properties #6760
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 @adpeyre on GitHub (Jun 16, 2021).
Hi,
Since the 2.9.2 release, my nullable php typed properties are not correctly taken into account by Doctrine.
For example, this attribute is not nullable in database:
I needed to downgrade to 2.9.1.
Thx
@greg0ire commented on GitHub (Jun 16, 2021):
Hi! Have you read https://github.com/doctrine/orm/pull/8732 ?
@adpeyre commented on GitHub (Jun 16, 2021):
Thanks @greg0ire. I missed that. (I had deleted all my null constraints lol).
Merci :D