@groovy.transform.CompileStatic @groovy.transform.InheritConstructors class UpdateEntityDataFetcher<T> extends DefaultGormDataFetcher<T> implements BindingGormDataFetcher
A class for updating an entity with GraphQL
T
- The domain returnType to updateType | Name and description |
---|---|
GraphQLDataBinder |
dataBinder |
Constructor and description |
---|
UpdateEntityDataFetcher
() |
Type Params | Return Type | Name and description |
---|---|---|
|
T |
get(graphql.schema.DataFetchingEnvironment environment) |
|
protected java.util.Map |
getEntityArgument(graphql.schema.DataFetchingEnvironment environment) |
|
protected org.grails.datastore.gorm.GormEntity |
getInstance(graphql.schema.DataFetchingEnvironment environment) |
|
boolean |
supports(GraphQLDataFetcherType type) |
Groovy Documentation