From 309a12f477707ff04248ee5e832e99e63111ca83 Mon Sep 17 00:00:00 2001 From: Michael Yan Date: Fri, 27 Sep 2024 15:19:49 +0800 Subject: [PATCH] Use default Bean `domainModelService` provided by Scaffolding Plugin Closes gh-2 --- .../groovy/grails/plugin/formfields/FieldsGrailsPlugin.groovy | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main/groovy/grails/plugin/formfields/FieldsGrailsPlugin.groovy b/src/main/groovy/grails/plugin/formfields/FieldsGrailsPlugin.groovy index 66f1799..bd9c41c 100644 --- a/src/main/groovy/grails/plugin/formfields/FieldsGrailsPlugin.groovy +++ b/src/main/groovy/grails/plugin/formfields/FieldsGrailsPlugin.groovy @@ -17,7 +17,6 @@ package grails.plugin.formfields import grails.plugins.Plugin -import org.grails.scaffolding.model.DomainModelServiceImpl import org.grails.scaffolding.model.property.DomainPropertyFactoryImpl class FieldsGrailsPlugin extends Plugin { @@ -33,8 +32,5 @@ class FieldsGrailsPlugin extends Plugin { beanPropertyAccessorFactory(BeanPropertyAccessorFactory) formFieldsTemplateService(FormFieldsTemplateService) fieldsDomainPropertyFactory(DomainPropertyFactoryImpl) - domainModelService(DomainModelServiceImpl) { - domainPropertyFactory = ref(fieldsDomainPropertyFactory) - } }} }