mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
Support for nesting attributes with PHP 8.1 #6887
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 @beberlei on GitHub (Dec 12, 2021).
Feature Request
Summary
With PHP 8.1 attributes can now be nested. This allows to add some of the missing functionality that we have missed on the Attribute Driver support for PHP 8.0:
#[AttributeOverrides([new AttributeOverride(name: "foo", column: new Column(type: "string"))])and the same for#[AssociationOverride].#[JoinTable(joinColumns: [new JoinColumn], inverseJoinColumns: [new JoinColumn])#[Table(indexes: [new Index()], uniqueConstraints: [new UniqueConstraint()])]Follow up to #8266
This ticket replaces #8772 and #9174