We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
The example here doesn't seem to work on the last version:
class Foo(val bool: Boolean) val v = Validator.builder<Foo>() .constraint(Foo::bool, "bool") { it.toTrue() } // this method signature isn't valid
The constraint method never has as first parameter a Function<T, Boolean> so this won't compile.
constraint
Function<T, Boolean>
Due to that, I think the example in the doc isn't working > https://github.com/making/yavi/blob/develop/docs/FromBeanValidationToYAVI.md#asserttrue
The text was updated successfully, but these errors were encountered:
Good catch! ToBoolean has been completely forgotten ...
ToBoolean
Sorry, something went wrong.
👍
dfdbbec
0.0.19 has just been released. It's under the process of synchronizing maven central.
0.0.19
Thanks for your reactivity!
No branches or pull requests
Hi,
The example here doesn't seem to work on the last version:
The
constraint
method never has as first parameter aFunction<T, Boolean>
so this won't compile.Due to that, I think the example in the doc isn't working > https://github.com/making/yavi/blob/develop/docs/FromBeanValidationToYAVI.md#asserttrue
The text was updated successfully, but these errors were encountered: