Skip to content

Commit

Permalink
Use default Bean domainModelService provided by Scaffolding Plugin
Browse files Browse the repository at this point in the history
Closes gh-2
  • Loading branch information
rainboyan committed Sep 27, 2024
1 parent 4fa7988 commit 309a12f
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -33,8 +32,5 @@ class FieldsGrailsPlugin extends Plugin {
beanPropertyAccessorFactory(BeanPropertyAccessorFactory)
formFieldsTemplateService(FormFieldsTemplateService)
fieldsDomainPropertyFactory(DomainPropertyFactoryImpl)
domainModelService(DomainModelServiceImpl) {
domainPropertyFactory = ref(fieldsDomainPropertyFactory)
}
}}
}

0 comments on commit 309a12f

Please sign in to comment.