20. Enhanced Backend Validation

Published 3 months 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

or
Sign In
chris posted 3 months ago
0
d
devDale posted 3 months ago
1
Cheat Sheet Preview

Download The Official Chris Courses HTML5 Canvas Cheat Sheet

Essential canvas syntax at your fingertips.

Download Now

Providing the lift to launch your development career

© 2020 Chris Courses. All rights reserved.