Closed eizzo closed 7 years ago
It appears the header, query, params, and body properties of the validate object in route() options do not support a Joi schema object as generated by Joi.compile(). Any plans to support Joi schema objects in these cases? Thanks.
happy to support it / surprised it isn't supported since we pass these values to Joi.validate. Can you paste an example?
Joi.validate
no response. closing
It appears the header, query, params, and body properties of the validate object in route() options do not support a Joi schema object as generated by Joi.compile(). Any plans to support Joi schema objects in these cases? Thanks.