I have this array:
And I have tried to do something like this:
Joi.validate(arr, Joi.array().includes(Joi.number().options({modify: true})));
It did not convert the internal numbers (but it did validate the array, and if I change a value so it is not a number validation will fail as it should).
I also tried to move the modify to the Joi.validate call itself (in options) but it did not work.