Skip to content


DDC-1325: Adding @Target to annotations #1940

doctrinebot opened this Issue · 2 comments

2 participants


Jira issue originally created by user johannes:

Now that the annotation parser has support for the @Target annotation, we should also add it to the annotations of the ORM.

I have looked through the mapping file, but I'm not familiar with all the annotations, so someone else is probably better suited to add them.

Usage is as follows:

@Target("CLASS") for a single target
@Target({"CLASS", "METHOD", "PROPERTY", "ANNOTATION"}) for multiple targets (annotation if it can be used as a nested annotation)


Comment created by @beberlei:



Issue was closed with resolution "Fixed"

@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.2 milestone
@doctrinebot doctrinebot closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.