Closed jedireza closed 6 years ago
This is basically the same as Joi.object([schema]) [...] Some people like to use keys() to make the code more explicit (this is style only).
This is basically the same as Joi.object([schema]) [...]
Joi.object([schema])
Some people like to use keys() to make the code more explicit (this is style only).
keys()
https://github.com/hapijs/joi/blob/master/API.md#joiobjectkeysschema-notation
https://github.com/hapijs/joi/blob/master/API.md#joiobjectkeysschema-notation