anitab-org / mentorship-backend

Mentorship System is an application that matches women in tech to mentor each other, on career development, through 1:1 relations during a certain period of time. This is the backend of this system.
https://mentorship-backend-temp.herokuapp.com/
GNU General Public License v3.0
196 stars 449 forks source link

Use sql alchemy events to validate data #1083

Open epicadk opened 3 years ago

epicadk commented 3 years ago

Is your feature request related to a problem? Please describe.

Currently we do not validate data before sending it to the database

Describe the solution you'd like

Use the sql alchemy before insert even to validate the data being stored in the database

epicadk commented 3 years ago

Marking this as available because it's not really changing any functionality. But if @anitab-org/mentorship-maintainers think it's not required then will close.

epicadk commented 3 years ago

I'd like to work on this.