Open skornev opened 7 years ago
I use traits and I would like to override annotations. Currently it looks like there is no such option. Is it possible to override annotations like doctrine does http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/tutorials/override-field-association-mappings-in-subclasses.html?
I know I can use abstract class and put trait there and then extend that class, but that seems awkward.
It looks like an edge case to me, and even annotation override is awkward. My suggestion is to drop annotations and use xml or yaml mapping.
I use traits and I would like to override annotations. Currently it looks like there is no such option. Is it possible to override annotations like doctrine does http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/tutorials/override-field-association-mappings-in-subclasses.html?
I know I can use abstract class and put trait there and then extend that class, but that seems awkward.