@groovy.transform.CompileStatic @groovy.transform.InheritConstructors class DeleteEntityDataFetcher<T> extends DefaultGormDataFetcher<T> implements DeletingGormDataFetcher
A class for deleting entities with GraphQL
T
- The domain returnType to deleteType | Name and description |
---|---|
GraphQLDeleteResponseHandler |
responseHandler |
Constructor and description |
---|
DeleteEntityDataFetcher
() |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
delete(graphql.schema.DataFetchingEnvironment environment) |
|
protected void |
deleteInstance(org.grails.datastore.gorm.GormEntity instance) |
|
T |
get(graphql.schema.DataFetchingEnvironment environment) |
Groovy Documentation