Replies: 1 comment 1 reply
-
why does this not work? to help me understand, is this an assumption based on the mn-aws docs doesn't include construction injection or do you have some code that isn't behaving as expected? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have a question about the dependency injection in Micronaut.
According to the documentation on injection types, three types are supported: constructor, field, and method parameter. Anyway, it seems there are some exceptions in which not all types are valid. For instance, the constructor injection appears to not work for MicronautRequestHandler, in fact, the documentation on Micronaut AWS only mentions field injection.
Can you confirm that this is the case? In that case, are there other exceptions to be aware of?
And, if those exceptions exist, is there any plan to support the constructor injections for them?
Thank you,
Angelo
Beta Was this translation helpful? Give feedback.
All reactions