Closed bjrmatos closed 5 years ago
we have json schema auto-generated by the type definition in the model of an entity, we can use that to validate and sanitize values generally, similar to what we do for the req.template before rendering
req.template
this should avoid manually registering listeners that just sanitize values, like the one here
we have json schema auto-generated by the type definition in the model of an entity, we can use that to validate and sanitize values generally, similar to what we do for the
req.template
before rendering