Skip to content

Array of Object validation #54

@GoldraK

Description

@GoldraK

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions