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
I was following the guide for Quarkus configuration - https://quarkus.io/guides/config#using-configproperties. The example with bean validation using class annotated with ConfigProperties doesn't seem to work as no errors are thrown when property violates bean validation annotations.
Expected behavior
An error is displayed when a property in application.properties has value violating bean validation annotation.
Output of java -version:
openjdk version "11.0.7" 2020-04-14
OpenJDK Runtime Environment GraalVM CE 20.1.0 (build 11.0.7+10-jvmci-20.1-b02)
OpenJDK 64-Bit Server VM GraalVM CE 20.1.0 (build 11.0.7+10-jvmci-20.1-b02, mixed mode, sharing)
Quarkus version: 1.6.0.Final
Build tool (ie. output of mvnw --version or gradlew --version): Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
The text was updated successfully, but these errors were encountered:
I was following the guide for Quarkus configuration - https://quarkus.io/guides/config#using-configproperties. The example with bean validation using class annotated with ConfigProperties doesn't seem to work as no errors are thrown when property violates bean validation annotations.
Expected behavior
An error is displayed when a property in application.properties has value violating bean validation annotation.
Actual behavior
No error is displayed.
To Reproduce
Configuration
greeting.message = hello
Environment:
uname -a
orver
: Linux localhost.localdomain 5.6.13-100.fc30.x86_64 Switch to the Maven distributed copy of the SubstrateVM annotations #1 SMP Fri May 15 00:36:06 UTC 2020 x86_64 x86_64 x86_64 GNU/Linuxjava -version
:openjdk version "11.0.7" 2020-04-14
OpenJDK Runtime Environment GraalVM CE 20.1.0 (build 11.0.7+10-jvmci-20.1-b02)
OpenJDK 64-Bit Server VM GraalVM CE 20.1.0 (build 11.0.7+10-jvmci-20.1-b02, mixed mode, sharing)
mvnw --version
orgradlew --version
): Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)The text was updated successfully, but these errors were encountered: