-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Annotation processor don't read field annotations with @Target(TYPE_USE)
#8706
Comments
@Target(TYPE_USE)
@Target(TYPE_USE)
Type annotation aren't supported in Micronaut 3 and will be supported in Micronaut 4 |
@dstepanov can this be closed? |
@dstepanov still doesn't work with micronaut 4.0 |
Please create an example |
@dstepanov just try to run test And you will see that nullable is false. I mean, method isNullable() will return false, but we have annotation mappers for these annotations - |
@altro3 It works correctly, but in this case the nullable annotation will come on the field's type, the code needs to be adjusted. |
Expected Behavior
Field annotations should be read correctly
Actual Behaviour
Now such annotations are ignored
Steps To Reproduce
Create class like this:
And check field elements in annotation processsor:
Annotations will not be found
Environment Information
Example Application
No response
Version
3.8.3
The text was updated successfully, but these errors were encountered: