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