UniqueItems check error #25

lazdmx opened this Issue Nov 12, 2011 · 3 comments


None yet
4 participants

lazdmx commented Nov 12, 2011

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 commented Nov 14, 2011

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

Have you made any progress on this issue?

MrTrick commented May 26, 2014

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