Open eisneim opened 9 years ago
+1
+1
In our case we are passing in an array of domains and we want to validate each are a FQDN.
{
domains: ["www.foo.com", "foo.com", "mail.foo.com"]
}
so we'd like to do something like:
this.checkBody('/domains[*]', true).isFQDN();
it would be nice if it possible to validate array of object, for example somebody post something like this:
we can use those code to check each object in an array of even nested array