-
Notifications
You must be signed in to change notification settings - Fork 11.4k
Using Laravel rules with custom validation rules #55702
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
Comments
The |
Am I using |
@blue32a a way to be sure is to use laravel version that does not have this patch and see if it works. |
I tried the unpatched version (12.1.0) with the same results. The dump is actually performed twice, the second time being unverifiable. Apparently it is not appropriate to use Thank you. Dump (Laravel 12.1.0)
|
Uh oh!
There was an error while loading. Please reload this page.
Laravel Version
12.13.0
PHP Version
8.4.7
Database Driver & Version
No response
Description
Use Laravel rules with custom validation rules.
However, nested fields do not behave as expected. Nested fields are considered not verifiable.
Is this usage appropriate?
Steps To Reproduce
Custom Validation Rules
Tests
Dump
Illuminate\Validation\Validator::isValidatable()
Illuminate\Validation\Validator::presentOrRuleIsImplicit()
Illuminate\Validation\Concerns\ValidatesAttributes::validatePresent()
The text was updated successfully, but these errors were encountered: