Skip to content

Feature: Type parameters #12

@johnnymast

Description

@johnnymast

Is your feature request related to a problem? Please describe.
I would like to see an option for types to receive parameters from the definition. It may look something like this:

$validator->validate([
    'foo' => 'length:min:6:max:12'
]);

Describe the solution you'd like
This needs to be implemented in the type context class.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions