Adds query param when using route param with custom request class #393
-
I have a route which accepts an id as a route param:
Used in my controller Using a custom Request class
Scramble, adds an an extra id as a query param which i can't seem to remove i use the standard request class |
Beta Was this translation helpful? Give feedback.
Answered by
romalytvynenko
May 23, 2024
Replies: 1 comment 7 replies
-
@paulchill can you share the entire source of your form request class? |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@paulchill after more thoughts, I believe that this behavior is correct 🫣 At the same time, the stuff should not drive you nuts! So I'm about to allow to manually opt out of some parameters documentation by using
@ignoreParam
annotation.So you'd need to write
rules
like so:Does that make sense?