-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arc - implement CDI inheritance rules properly #41
Comments
Follows up #38 |
@mkouba isn't this done? |
I'm not sure. @manovotn could you pls verify the relevant functionalities? |
@cescoffier @mkouba |
FTR, CDI spec recommends that qualifiers should not declare
so that's definitely of minor priority. As for stereotypes, those would be nice to have feature, but probably not mandatory right away. |
I can confirm that stereotype inheritance doesn't work, as well as transitive stereotypes (stereotype declared on another stereotype). I added some |
so I have start to work on it but I am stuck because jandex seems to not return annotation of superclass got from classInfo. |
CC @Ladicek - is it something doable? |
That's intentional and well-documented. You need to walk the class hiearchy instead. |
@mkouba Considering recent developments in CDI Lite and extensions, I think the annotation store in ArC should probably always include all annotations of a class (including inherited ones). This is a little more complicated for scope annotations, and I didn't really think it through yet, so this is more like a heads up than a definitive claim :-) |
I assume that you mean the annotations declared on superclasses and annotated with |
Yes. |
@Ladicek might be worth an issue with some details so we keep track of it? |
At some point, sure. I need to think more about it. |
See also http://docs.jboss.org/cdi/spec/2.0/cdi-spec.html#inheritance.
The text was updated successfully, but these errors were encountered: