DDC-366: Provide namespace aliasing through the AnnotationReader #454

Open
opened 2026-01-22 12:38:51 +01:00 by admin · 0 comments
Owner

Originally created by @doctrinebot on GitHub (Feb 24, 2010).

Jira issue originally created by user romanb:

The Parser used by the AnnotationReader already supports namespace aliasing but it can not be configured. The AnnotationReader should provide a forwarding method setAnnotationNamespaceAlias(...).

Also, the alias syntax should be changed to "@alias:Name" so that its very clear which annotations are in the default namespace, which are fully qualified and which use an alias.

Originally created by @doctrinebot on GitHub (Feb 24, 2010). Jira issue originally created by user romanb: The Parser used by the AnnotationReader already supports namespace aliasing but it can not be configured. The AnnotationReader should provide a forwarding method setAnnotationNamespaceAlias(...). Also, the alias syntax should be changed to "@alias:Name" so that its very clear which annotations are in the default namespace, which are fully qualified and which use an alias.
admin added the Improvement label 2026-01-22 12:38:51 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#454