truggeri / Books.Service.Transaction

Service for transactions in the Books project.
MIT License
0 stars 0 forks source link

Input data validation #17

Open truggeri opened 6 years ago

truggeri commented 6 years ago

Any data passed in my a user needs to be validated before being saved to the database. I'd like to use a package for this rather than rolling my own. Look into external libraries that can do this and then implement the validation between user input and saving.

truggeri commented 6 years ago

Cerberus looks promising.

truggeri commented 6 years ago

It looks like Cerberus is only for schema validation and not for actually doing any scrubbing and sql injection cleaning. It may still be very useful over something like Marshmallow, but it's not going to clean.