Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UniqueItems check error #25

Open
lazdmx opened this issue Nov 12, 2011 · 3 comments
Open

UniqueItems check error #25

lazdmx opened this issue Nov 12, 2011 · 3 comments
Labels

Comments

@lazdmx
Copy link

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
Copy link
Owner

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

@ferson2020
Copy link

Have you made any progress on this issue?

@MrTrick
Copy link

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
Labels
Projects
None yet
Development

No branches or pull requests

4 participants