
Describe the bug
There is no Schema validation in models or using an external library like Joi.
To Reproduce
Steps to reproduce the behavior:
- You can send empty, garbage or dengerous data using postman, hopscotch or insomnia.
Expected behavior
Should have schema validation using default mongoose models like
{ type : string
required : true //this line is missing
}
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
- Device: Realme gt 2
- OS: android
- Browser chrome
- Version 14
I want to work on this issue, please assign it to me.
Describe the bug
There is no Schema validation in models or using an external library like Joi.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should have schema validation using default mongoose models like
{ type : string
required : true //this line is missing
}
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
I want to work on this issue, please assign it to me.