dialexa / relish

Better error messages for Hapi.js Joi validation
https://npmjs.com/package/relish
ISC License
121 stars 17 forks source link

In the post method when no data was passed means it doesn't show any field errors? #13

Closed sivabalan02 closed 7 years ago

sivabalan02 commented 7 years ago

When I am passing without any fields on the post method, it doesn't show fields required message rather it shows one error as base object empty. I want all the field errors on that. Is that possible?

galenandrew commented 7 years ago

Apologies for the delayed response here. Can you provide an example? The error object comes from Joi, we just decorate it.