mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
Don't define Doctrine annotations as a hard dependency? #6769
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 @javiereguiluz on GitHub (Jun 25, 2021).
In #8266 @beberlei added support for defining mapping with PHP attributes. However,
doctrine/annotationsis still defined as a required dependency of this project:f233e4cf6b/composer.json (L22)Is there any technical reason to keep it as is, or is it just that we need to find someone willing to contribute this change? Thanks!
@alcaeus commented on GitHub (Jun 25, 2021):
There is no hard requirement with attributes, and there shouldn't have been one in the first place. I believe a solution as implemented in doctrine/persistence#197 would make sense here.