ardielle / ardielle-java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Validator does not validate correctly if object has multiple Array fields

havetisyan opened this issue · comments

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.

Release as part of 1.4.14