This does not result in thrown errors for Joi v10.0.2 or below, but it also does not do anything.
To pave the way for an assumed-to-be-eventual upgrade to Joi v10 (allowing for support for Hapi v16), usage of Joi.array(Joi.object()) should be removed/refactored to Joi.array().items(Joi.object()).
Looking at https://github.com/hapijs/glue/blob/master/lib/index.js#L24.
This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.
This does not result in thrown errors for Joi v10.0.2 or below, but it also does not do anything.
To pave the way for an assumed-to-be-eventual upgrade to Joi v10 (allowing for support for Hapi v16), usage of
Joi.array(Joi.object())
should be removed/refactored toJoi.array().items(Joi.object())
. Looking at https://github.com/hapijs/glue/blob/master/lib/index.js#L24.