Validator does not validate correctly if object has multiple Array fields
havetisyan opened this issue · comments
Henry Avetisyan commented
If I have the following rdl:
type DomainTemplate Struct {
Array templateNames;
Array params (optional);
}
When validating this object against its schema, it only validates the templateNames array and just ignores params array. Quick look at the code shows that it returns the value of the first array validation rather than only returning if there is a failure and continuing with the other fields.
Lee R. Boynton commented
Release as part of 1.4.14