How to have a dynamic argument for a class constructor based Joi error result?
How can I have a dynamic argument depending on the error that occurred using Joi? I cannot really find a field on the object returned by Joi when an error occurred that can be a useful reference for a dynamic error name for my custom error handler.
How to have a dynamic argument for a class constructor based Joi error result?
How can I have a dynamic argument depending on the error that occurred using Joi? I cannot really find a field on the object returned by Joi when an error occurred that can be a useful reference for a dynamic error name for my custom error handler.
how to make fields not ‘required’ in this node js model
In this node js model, all the field appear required. I don’t want all of them to be ‘required’, i did the joi component of it but it is still not working