DEV Community

Discussion on: Joi Tutorial-Using @hapi/joi version 16.1.7 to validate a request body in a RESTful API.

Collapse
 
anlixsigns profile image
André Litfin

Hi Jacqueline, thanks a lot for your post. If you want to have an even faster validation think of using joi.validate or joi.validateAsync instead of joi.assert: github.com/hapijs/joi/issues/2340

Collapse
 
jacqueline profile image
Jacqueline Binya • Edited

Thank you, I will sure check it out.