Replies: 2 comments 1 reply
-
Hi @quyle92 public static function fromRequest(Request $request): static{
return new self("{$request->input('name')} {$request->input('lyrics')}")
} |
Beta Was this translation helpful? Give feedback.
1 reply
-
I'm open if someone Pr's it! Don't need it at the moment so I sadly have no time to take a look at it. |
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.
-
Hi,
Is there any way that I can apply the
WithoutValidation
attribute to all properties in my Data class.Here is the current:
Any idea on how to not doing this repetitively for each props would be much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions