Skip to content

FromAuthenticatedUser and rules() #954

Closed Answered by ellisio
ellisio asked this question in Q&A
Discussion options

You must be logged in to vote

I found it, but perhaps this should be inherited behavior. The following allows me to omit the empty user rules.

#[WithoutValidation]
#[FromAuthenticatedUser]
public UserData $user;

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ellisio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant