AndrewKeig/express-validation

Joi.object().unknown(true) return 404

devatquarxps opened this issue · 2 comments

Joi.object({
    id: Joi.string().required(),
  }).unknown(true)

returns 404 as the API response, even when the id is being passed.

Please provide a full example that reproduces the problem.

Reopen with a full example if it's still an issue.