Make Joi schemas more consistent by removing calls to `keys()`
jedireza opened this issue · 0 comments
jedireza commented
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).
https://github.com/hapijs/joi/blob/master/API.md#joiobjectkeysschema-notation