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: Type parameters #12

Open
johnnymast opened this issue Mar 30, 2023 · 0 comments
Open

Feature: Type parameters #12

johnnymast opened this issue Mar 30, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@johnnymast
Copy link
Owner

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.

@johnnymast johnnymast added the enhancement New feature or request label Mar 30, 2023
@johnnymast johnnymast added this to the Version 0.40 milestone Mar 30, 2023
@johnnymast johnnymast self-assigned this Mar 30, 2023
@johnnymast johnnymast modified the milestones: Version 0.40, Version 0.30 Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant