Resolving validation errors caused by array items defined as unique requires post-processing the result to find the dups.
To illustrate, a validation of an array with 100s of items results in vague error of:
<array> has non-unique elements
Enriching ValidationError with additional exact context as an index/duplicated item would help a lot.
Resolving validation errors caused by array items defined as unique requires post-processing the result to find the dups.
To illustrate, a validation of an array with 100s of items results in vague error of:
Enriching
ValidationErrorwith additional exact context as an index/duplicated item would help a lot.