StudyNotion-An-Online-Education-Platform icon indicating copy to clipboard operation
StudyNotion-An-Online-Education-Platform copied to clipboard

Improve ZOD validation for router lavel

Open ronisarkarexe opened this issue 9 months ago • 1 comments

We propose implementing ZOD validation to ensure that users provide correctly formatted data in-router level. If the user sends an incorrect format, the request will not hit the API, preventing unnecessary calls.

  1. Integrate the ZOD (Zero-Overhead Data Validation) library into our registration process to validate the model.
  2. Define validation schemas for the model to enforce correct formatting and constraints.
  3. It is necessary to create validation schemas. These schemas will help enforce correct formatting and ensure that the constraints are met.

ronisarkarexe avatar May 11 '24 08:05 ronisarkarexe