Closed zaaack closed 7 years ago
IMO using static type checking with flowtype or typescript is more efficient than dynamic type checking with output validation, so closing this issue.
@chentsulin Ok, I want to integrate the validation with swagger, and flowtype or typescript are not easy to do this. I'll just create a built-in Joi validation.
I am not sure we should support this feature just because hapi supports it. I will encourage keep assigning consistent output instead of relying on output validation.