You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The config values do not load, all the Optionals are empty, although there are valid values in application.yaml.
Expected behavior
The config values are loaded correctly and the optionals are not empty. This works fine when they are defined directly in the annotated interface. It also worked fine in Quarkus 2.15.3.Final.
fire2
changed the title
@ConfigMapping with Optional values does not load values
@ConfigMapping with Optional values does not load values when inheriting interface
Dec 7, 2023
Describe the bug
Optional
: https://github.com/fire2/quarkus-bug-configmapping/blob/main/src/main/java/org/config/MarketConfig.javaapplication.yaml
: https://github.com/fire2/quarkus-bug-configmapping/blob/main/src/main/resources/application.yamlThe config values do not load, all the Optionals are empty, although there are valid values in
application.yaml
.Expected behavior
The config values are loaded correctly and the optionals are not empty. This works fine when they are defined directly in the annotated interface. It also worked fine in Quarkus 2.15.3.Final.
Actual behavior
Optionals are empty.
How to Reproduce?
Output of
uname -a
orver
Darwin LMUCM902989 23.1.0 Darwin Kernel Version 23.1.0: Mon Oct 9 21:27:27 PDT 2023; root:xnu-10002.41.9~6/RELEASE_X86_64 x86_64 i386 Darwin
Output of
java -version
openjdk 17.0.7 2023-04-18 LTS OpenJDK Runtime Environment Zulu17.42+19-CA (build 17.0.7+7-LTS) OpenJDK 64-Bit Server VM Zulu17.42+19-CA (build 17.0.7+7-LTS, mixed mode, sharing)
Quarkus version or git rev
3.6.0
Build tool (ie. output of
mvnw --version
orgradlew --version
)mvn
Additional information
No response
The text was updated successfully, but these errors were encountered: