Closed joseluisdominguez closed 2 years ago
Hi, I triying send context such as joiOptions
const schema = [....] const options = { context: true, keyByField: true, ... } const joiOptions = { context: { param1: 'valueContext' } } validate(schema, options, joiOptions)
Always, request object override joiOptions context (file lib/joi.js)
Fixed released in 4.0.0
Hi, I triying send context such as joiOptions
Always, request object override joiOptions context (file lib/joi.js)