docbee-fschrader commented on issue #15276: URL: https://github.com/apache/grails-core/issues/15276#issuecomment-3661037514
What would be ideal, would be a way of disabling validation for a specific domain in a transaction. Most of our validators, that we want to skip are closures, some are also custom constraints. An example for a case where we skip validation: We have a root object with children. One of the children is updated (we would validate the child in that case). However we need to update a cache property (e.g. a modified date) that doesn't have a validator on the root domain. We want to skip validation for the root domain in that case because it has expensive validators for other properties that haven't been updated. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
