-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lint(validators): support checking arrays for duplicates (#295)
Some string arrays have a constraint that their values must be unique, i.e. each value must not appear more than once. The `isArrayOfStrings` and `hasArrayOfStrings` procs now take a `uniqueValues` argument by which uniqueness of the array values can be enforced. The default behavior is to allow duplicate values in an array.
- Loading branch information
1 parent
6111020
commit 96f3446
Showing
1 changed file
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters