8000 Typed Property Defaults: problem with nullable properties · Issue #8770 · doctrine/orm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Typed Property Defaults: problem with nullable properties #8770
Closed
@adpeyre

Description

@adpeyre

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:

 #[ORM\Column]
 public ?\DateTimeImmutable $canceledAt = null;

I needed to downgrade to 2.9.1.

Thx

3AE1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0