jamesfredley commented on code in PR #15335:
URL: https://github.com/apache/grails-core/pull/15335#discussion_r2725912454


##########
grails-validation/src/main/groovy/grails/validation/Validateable.groovy:
##########
@@ -103,6 +103,18 @@ trait Validateable {
         return constraintsMapInternal
     }
 
+    /**
+     * Clears the cached constraints map, forcing re-evaluation on next access.
+     * This is primarily useful in testing scenarios where shared constraints
+     * may need to be re-evaluated after configuration changes.
+     *
+     * @since 7.0
+     */
+    @Generated
+    static void clearConstraintsMap() {

Review Comment:
   Updated and moved public API change to 
https://github.com/apache/grails-core/pull/15346



-- 
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]

Reply via email to