Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.3-incubating
-
None
Description
Injection of a configuration value does not work for the following case:
{{@Inject
public void setStringValue(@ConfigProperty(name="my.optional.string.property") Optional<String> stringValue)
}}
Reason:
- The custom extension does not recognize the method since it is checking only on @ConfigProperty on method level (and does ignore parameter level.
- The producer logic must be checked as well, not sure if it is able to interpret the given InjectionPoint correctly.
This issue affects CDI injection as well as the Microprofile module.