talyssonoc / structure

A simple schema/attributes library built on top of modern JavaScript
https://structure.js.org/
MIT License
301 stars 20 forks source link

validate whether array has only unique items #89

Closed t3h2mas closed 5 years ago

t3h2mas commented 5 years ago

Adds the unique validation option for arrays.

Tested and added to docs

talyssonoc commented 5 years ago

Hello, @t3h2mas, sorry for the delay on reviewing that, and thanks for the contribution :smile:

I have the intention to merge it, can you resolve the conflict?

t3h2mas commented 5 years ago

@talyssonoc should be resolved :+1:

talyssonoc commented 5 years ago

Thanks for the contribution, @t3h2mas! Gonna release soon :smile:

talyssonoc commented 5 years ago

@t3h2mas, just published 1.8.0 with your contribution!