Skip to content

Commit

Permalink
Update Schema.groovy
Browse files Browse the repository at this point in the history
Remove uneccessary getter
  • Loading branch information
puneetbehl committed Jan 16, 2023
1 parent 4ff321b commit d6659d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/groovy/org/grails/gorm/graphql/Schema.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ class Schema {
}
GraphQLInputType createObjectType = typeManager.getMutationType(entity, GraphQLPropertyType.CREATE, true)

if (!createObjectType.children.isEmpty()) {
if (!createObjectType.children.empty) {
BindingGormDataFetcher createFetcher = dataFetcherManager.getBindingFetcher(entity, CREATE).orElse(new CreateEntityDataFetcher(entity))
createFetcher.dataBinder = dataBinder

Expand Down

0 comments on commit d6659d6

Please sign in to comment.