-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
@AssertTrue is not working on ConfigMapping when it returns true #46471
Comments
/cc @radcortez (config) |
Are you building a Quarkus extension? If not, |
Well spotted @geoand. I build/use an extension but the |
Thanks. Also cc @gsmet as this includes HV handling in Quarkus |
My wild guess is that #46489 should fix the issue. |
Fixes quarkusio#46471 (cherry picked from commit a1021fd)
I have the following class
When
isValid
method returnstrue
, I get the following exception:When
isValid
method returnsfalse
, I get the following exception:What I want to achieve is cross validation. If there is a better way to do it, please let me know. I want to validate the config before the application starts (or at least before running any user code, like DB migrations via Flyway, etc)
The text was updated successfully, but these errors were encountered: