Skip to content

Best practices for Data Validation in Node.js MVC Architecture #50879

Answered by opjarretop
WUKLH asked this question in General
Discussion options

You must be logged in to vote

@WUKLH I've found using a library like Joi or Zod tends to scale a lot easier. There is nothing stopping you from creating custom validation when needed. Custom validation is a valid option and it really depends on your use case.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by marco-ippolito
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants