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

[Feature Request] Purely sequential array validation #126

Closed
castarco opened this issue Apr 14, 2016 · 1 comment
Closed

[Feature Request] Purely sequential array validation #126

castarco opened this issue Apr 14, 2016 · 1 comment

Comments

@castarco
Copy link

It would be nice to allow Particle Validator to check if arrays are sequential lists or not. It's not the same having an ordered list than having an associative array, which is technically equivalent to a "dictionary" or a "map".

I want to add this feature by myself in a few days, but I'm writing this issue to "document" it and allow other people to discuss about whether this is a good idea or not.

@rick-nu
Copy link

rick-nu commented Aug 5, 2016

@castarco so you would like to check if the array keys are actually like $array[0], $array[1], $array[2]? If you still want to add it, go for it! 😉 I haven't heard of any other people who would like to use this though, so I'm going to close the issue. Feel free to re-open it (or just implement it and push the PR) if you feel that it will be off value to other as well :)

@rick-nu rick-nu closed this as completed Aug 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants