Array of Object validation
Hello again,
I continue using your library in my projects and now I have to validate an array of objects.
In Laravel it is done as follows.
$rules = [ 'schedules' => 'required|array', 'schedules.*.name' => 'required|string|max:255', 'schedules.*.description' => 'required|string|max:1000', ];
Is there any possibility of implementing it?
Thank you.
Hello @GoldraK !
Sorry for the late response, I was on holiday. And thanks for the feedback. We can do it, I guess. Let me work on it this week. ☺️
@GoldraK , I just wanted to inform you that I didn't forget your request. :) I am still working on it, but finding time to work on an open-source project is not easy.
@GoldraK , finally, the new version has been released. You can use it on object and array, with nested support.
https://validator.axe-api.com/getting-started.html#nested-data-validation
Thank you very much.
I'll update the package right away and get it up and running.