Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

seperate validator schema from controller #27

Closed
muttaqin1 opened this issue Apr 1, 2023 · 0 comments
Closed

seperate validator schema from controller #27

muttaqin1 opened this issue Apr 1, 2023 · 0 comments

Comments

@muttaqin1
Copy link

muttaqin1 commented Apr 1, 2023

Hi,
Your project structure is great, but i think if you seperate Schema's from controllers then your project structure will more cleaner.
A middleware function will validate req body data with the schema.

@muttaqin1 muttaqin1 closed this as not planned Won't fix, can't repro, duplicate, stale Apr 1, 2023
@muttaqin1 muttaqin1 reopened this Apr 1, 2023
@muttaqin1 muttaqin1 changed the title s feature request Apr 1, 2023
@muttaqin1 muttaqin1 changed the title feature request seperate validator schema from controller Apr 8, 2023
@muttaqin1 muttaqin1 reopened this Apr 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant