Migrate joi
to 17.4.0
and adapt the codebase
#99899
Merged
joi
to 17.4.0
and adapt the codebase
#99899