Supposed I want to validate a sub-element like:
{address:
{street: "Millerstreet"}
}
My check
this.checkBody('address.street').notEmpty()
does not seem to work.
Is it even possible to validate sub-elements with koa-validate?
Or have I simply missed something?
Supposed I want to validate a sub-element like:
My check
does not seem to work.
Is it even possible to validate sub-elements with koa-validate?
Or have I simply missed something?