mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
Error: The annotation does not exist #6520
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 @ad-test on GitHub (Aug 7, 2020).
I created a project, where the entities have annotations from both
Doctrine\ORM\MappingandMyLib\Annotation, like this:Unfortunately I get this error, if I try to run
orm:schema-tool:update:I created a minimal reproducible example project, it can be found here: https://github.com/ad-test/doctrine-annotation-bug
@SenseException commented on GitHub (Aug 8, 2020):
https://www.doctrine-project.org/projects/doctrine-annotations/en/1.10/annotations.html
If this is not an annotation relevant for Doctrine ORM and needs to be ignored, you'll have to tell Doctrine Annotations to ignore it. Otherwise it needs to be registered.