Joi pas de chaîne vide
var joi = require('joi')
// check if not empty string
const notEmptyString = joi.string().regex(/^[^\s]+$/).required()
simpaul13
var joi = require('joi')
// check if not empty string
const notEmptyString = joi.string().regex(/^[^\s]+$/).required()