-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Feature Request Description
Create a function in the [middleware] file to check if query params and strings exist or not. Also, check if they match the expected pattern.
Use Case
For example in these three c1, c2 and, c3 controllers, the validation is done in the controller themselves. The same validation is repeated three times
Proposed Solution
Create a middleware file here and check if query params and strings exist or not. Also, check if they match the expected pattern.
Benefits
Makes the code DRY and have a Single Point of Truth
Current Workarounds (if applicable)
[Explain any existing workarounds or alternative approaches that users may currently use]
Additional Information
[Add any additional information or context that may be helpful for understanding the feature request]
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request