I am looking at building something resembling Java's JSR-303 Bean Validation. I'm currently building annotations using <a href="https://github.com/hyperthunk/annotations">https://github.com/hyperthunk/annotations</a> which can go on functions only. I was wondering if there is an event or some way of validating on the actual record itself. Is there some event published when something is changed or set on a record? Just curious if there is some kind of pre or post-hook I can use on records themselves which would let me validate the entire record any time it is changed or created. Any thoughts on if this is possible in any way?<div>
<br></div><div>Thanks,</div><div><br></div><div>Andrew</div>