-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
featureNew functionality or improvementNew functionality or improvement
Description
I need to validate if there are duplicates in an array and I would gladly do it if Joi let me define custom validations. But given the case it's not allowed at the moment, I thought it could be a nice addition to the library.
Of course, we would need to consider some cases with objects and arrays. Maybe experiment first with numbers and strings.
What do you think?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featureNew functionality or improvementNew functionality or improvement