Video Thumbnail

Sign up for a plan to instantly unlock all premium lessons.

UNLOCK LESSON

Premium Features

Download Video

20. Enhanced Backend Validation

Published 5 years ago

Common Joi Validators
// any of these can be chained onto one another for extra validation
Joi.object().keys({})
Joi.string()
Joi.number()
Joi.boolean()
Joi.array()
Joi.binary() // for file data
Joi.required()
Joi.optional()
Joi.min()
Joi.max()
Joi.default()

Comments

Want to participate?

Create a free Chris Courses account to begin

Login
chris posted 5 years ago
1
d
devDale posted 5 years ago
1

Providing the lift to launch your development career

© 2024 Chris Courses. All rights reserved.