- Notifications
You must be signed in to change notification settings - Fork11.7k
allow precognitive requests to use wildcards with array validations (#57437)#57486
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:12.x
Are you sure you want to change the base?
Conversation
@markusheinemann, what do you think about making this a little less strict and allow a Just thinking it could be cool to do Then you could do something like |
markusheinemann commentedNov 6, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@timacdonald Totally agree. Would be a nice convenience feature... Would we assume that I take a look into a adjusted implementation. |
Uh oh!
There was an error while loading.Please reload this page.
This PR is a proposal toresolve#57437.
With this change, users can specify a wildcard to trigger all validation rules for an array field when using precognitive requests. Before the change the user had to specify all array validation rules manually in the
Precognition-Validate-Onlyheader. Now wildcards can specified to cover all array entries.PS. This is my first PR for Laravel so please forgive me mistakes. I appreciate any feedback :)