mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
AttributeOverride annotation is also an attribute but that is not reachable #6867
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 @brzuchal on GitHub (Nov 3, 2021).
Bug Report
Annotation
AttributeOverridecarry#[Attribute]attribute unreasonably.Summary
Currently
AttributeOverrideis an annotation but the class declaration also consists of#[Attribute]attributes.This implies a false impression for the attribute to be usable while it's false because there is no way to apply it nor class constructor which could be used on entity class as an attribute.
@beberlei commented on GitHub (Nov 7, 2021):
Planing this for 2.11 as a larger improvement to
AttributeDriverwith PHP 8.1 and nested attributes.@beberlei commented on GitHub (Dec 18, 2021):
Fixed in #9240