Replies: 1 comment
-
Looking good, you're always welcome to send in a tested and documented PR and I'll gladly merge 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.
-
feature
Similar to the FromRouteParameter attribute, inject the currently logged-in user.
"$userClass indicates that data will only be injected for this class. Although most of the time a
guard
can be used instead, this is still very useful in certain situations. For example, in an API endpoint for creating user-related data, both users and admins can make requests. A user can create their own data, while an admin can create data for all users.implement
Similar to the FillRouteParameterPropertiesDataPipe
Beta Was this translation helpful? Give feedback.
All reactions