# exposed

Fernando Sanchez (Perraco Labs)

03/01/2024, 7:29 PM
When using Exposed, what are the recommended strategies or practices for validating column values before insertion or update? Frameworks like Spring Boot offer validation annotations, and Django provides built-in or custom Validators for models. How is similar validation typically handled or implemented when working with Exposed? I've opened a ticket requesting custom validators and shared my current solution. But I feel like my implementation might be overly complex for the task at hand, akin to trying to kill a fly with a gun. I'm wondering if there might be a simpler, more efficient approach available.