-
Notifications
You must be signed in to change notification settings - Fork 30
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
Fix the validation of an array of objects #40
base: master
Are you sure you want to change the base?
Conversation
Doesn't work if you mix post array objects with query params:
in Validation.php: __invoke
|
Hi @tamaspanczel. Is it related to this PR? If yes, in which way? If not, please create an issue for this problem. |
Ok, I'll create an issue for this, thx. |
In this case there are POST parameters and the additional GET parameter shouldn't be considered during the validation
26f08f3
to
6904fc7
Compare
Hey @DavidePastore, this doesn't appear to be working as I expected. I think I led you astray with the use of Per my feature request (#39), I am trying to validate key:value pairs within an array of objects, so I'm not sure this PR would fix that. However, it seems like a good enhancement regardless since it allows generic validation of array input such as
I don't have any routes with this format, so I don't think I can verify this PR for you currently. |
Close #39.