hapi — Reply Custom View for Failed Validations
Validations are built into hapi’s core and the framework has first class support for Joi, the schema validation framework. The overall validation setup for individual routes is very convenient and expressive, you’ll see that in a minute. The default behavior for failed validations is to send proper error …
Continue Reading