How to reference non-route parameter to ignore? #958
Closed
lab08Pavel
started this conversation in
General
Replies: 1 comment
-
I'm afraid so, there's no concept of the data available when generating these rules so the only thing we can do is referencing other field names but not their values. |
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.
-
I don't have access to the user id in my route, this is a
PUT /api/profile
route, so I can't useRouteParameterReference
.I also can do request()->get() in an annotation.
Is my only option do define
rules()
method instead?Beta Was this translation helpful? Give feedback.
All reactions