jdaugherty commented on code in PR #15565:
URL: https://github.com/apache/grails-core/pull/15565#discussion_r3058536506
##########
grails-domain-class/src/main/groovy/org/grails/plugins/domain/GrailsDomainClassAutoConfiguration.groovy:
##########
@@ -69,13 +68,6 @@ class GrailsDomainClassAutoConfiguration {
new DefaultConstraintEvaluatorFactoryBean(messageSources,
mappingContext, grailsApplication)
}
- @Lazy
- @Bean(name = ConstraintsEvaluator.BEAN_NAME)
- @Deprecated(since = '7.1', forRemoval = true)
- ConstraintEvaluatorAdapter
constraintsEvaluator(DefaultConstraintEvaluatorFactoryBean
validateableConstraintsEvaluator) {
- new ConstraintEvaluatorAdapter(validateableConstraintsEvaluator.object)
Review Comment:
So if you call ctx.getBean('constraintsEvaluator') you will get the one
created by the gorm one?
--
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]