Open
Description
Hey is it possible to return own external validation error like - check isLoginExist in DB and if there is, return error with with Joi Errors ? For now, I am showing that error after all of them from Joi. If password & confirmedPassword don't match the Joi validation is informing about that but not about isLoginTaken. After corrected password matches the isLoginExist error will be returned. Is it possible ??
Metadata
Metadata
Assignees
Labels
No labels