public static class DataSearchValidator.DefaultImpls
Interface to specify a interface FieldExpression
Validator.
Add the DataSearchValidator implementation to a interface SearchDescriptor
:
fun personSearchDescriptor(): SearchDescriptor = SearchDescriptorBuilder.builder()
.validators(MyValidator())
.build()