express-validator icon indicating copy to clipboard operation
express-validator copied to clipboard

Draft - Schema validation

Open KikoCosmetics opened this issue 3 years ago • 0 comments

Hi guys,

I had some time and worked on an integrated schema validation. Before going further I would like to know if the approach looks correct to you!

Also, I'm having trouble setting the error in the context. If the custom validator could tell you the errors (let's say one, but it could be all of them), is there a way I can manipulate the context.errors array?

KikoCosmetics avatar Jun 24 '22 14:06 KikoCosmetics