Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

UniqueItems check error #25

Open
lazutkin opened this Issue · 3 comments

4 participants

@lazutkin

It seams that uniqueItems check is not working for array of objects. For instance
env.validate([{"a":1}, {"a": 1}], { uniqueItems : true }) generates no errors.

@garycourt
Owner

This is a known limitation. I'll look into fixing this in the future.

@ferson2020

Have you made any progress on this issue?

@MrTrick

For what it's worth, it has the same limitation with array items; [ ['a'], ['a'] ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.