Skip to content

Typed Property Defaults: problem with nullable properties #8770

@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

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