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
@Value
class A {
List<String> data;
}
// I have to write like this:
ValidatorBuilder.<A>of()
.forEach(A::getData, "data", s -> s._string(it -> it, "", it -> it.notBlank()))
.build();
// Instead of this:
ValidatorBuilder.<A>of()
._forEachString(A::getData, "data", it -> it.notBlank())
.build();
Or may be I can, but it is certainly missing from documentation
The text was updated successfully, but these errors were encountered:
var aValidator = ValidatorBuilder.<A>of().build();
var listValidator = ValidatorBuilder.<List<A>>of()
// ??? - does not compile without explicit type
.forEach((ValidatorBuilder.ToCollection<List<A>, List<A>, A>) o -> o, "", aValidator)
.build();
Or may be I can, but it is certainly missing from documentation
The text was updated successfully, but these errors were encountered: