node-koa-mvc icon indicating copy to clipboard operation
node-koa-mvc copied to clipboard

waterline e-mail validation changed

Open k-tipp opened this issue 10 years ago • 0 comments

I didn't actually generate my project with koa-mvc but my project structure depends heavily on the suggested structure from koa-mvc, because of that I'm not sure if this affects you.

In waterline version 0.10.26 the syntax for email validaiton changed from: email: { type: 'string', email: true }

to: email: { type: 'email', }

Although I would expect that the old version still works this was the reason why my email validation failed.

k-tipp avatar Oct 09 '15 17:10 k-tipp