Replies: 1 comment
-
Here is an example of what the code update could look like a6f5b87 I can create a MR if requested. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Has anyone looked into populate FormRequest properties from the safe attributes? I think this would be helpful for both type hinting and using property based interfaces (new in php 8.4) into services
NOTE: something like this can be done in userland, but I could see how it would be useful for others to use:
New Interface
New Trait
Inside a ServiceProvider::boot():
Usage example (showing example with php 8.4 property interface)
create my value object interface
create my request class
Beta Was this translation helpful? Give feedback.
All reactions