read the document in bref, I can't find the way to validate one property except define an individual validator with one property.
I want the feature: I can define my rules for all property in a class, and I can choose which property to validate.
In an UI scene, when I create a User With all info, when I fill one property,I should validate it,but I don't want to validate others.because maybe others havn't been filled.
how to do it?
I want the feature: I can define my rules for all property in a class, and I can choose which property to validate.
In an UI scene, when I create a User With all info, when I fill one property,I should validate it,but I don't want to validate others.because maybe others havn't been filled.
how to do it?