[Request] Form validation: required_if_verb:post,patch,etc #44588
Unanswered
Hannes-Kruger
asked this question in
Ideas
Replies: 0 comments
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.
-
Hello,
I frequently create two sets of requests for CRUD's
It would be really helpful if we had a validation rule like:
required_if_request_type:post
or the inverse
required_unless_request_type:put,patch,delete
or call it
required_if_verb:post
That will allow you to use the same requests for most CRUD's without building custom rules.
Beta Was this translation helpful? Give feedback.
All reactions