@groovy.transform.AutoClone @groovy.transform.CompileStatic abstract class CustomGraphQLProperty extends OrderedGraphQLProperty
Implementation of GraphQLDomainProperty to be used to define additional properties beyond the ones defined in GORM entities
Modifiers | Name | Description |
---|---|---|
protected MappingContext |
mappingContext |
Type | Name and description |
---|---|
groovy.lang.Closure |
closureDataFetcher |
boolean |
input |
java.lang.Integer |
order |
boolean |
output |
Type Params | Return Type | Name and description |
---|---|---|
|
T |
dataFetcher(groovy.lang.Closure dataFetcher) |
|
DataFetcher |
getDataFetcher() |
|
GraphQLType |
getGraphQLType(GraphQLTypeManager typeManager, GraphQLPropertyType propertyType) |
|
T |
input(boolean input) |
|
T |
order(java.lang.Integer order) |
|
T |
output(boolean output) |
|
void |
setMappingContext(MappingContext mappingContext) |
|
void |
validate() |
Methods inherited from class | Name |
---|---|
class OrderedGraphQLProperty |
compareTo, getOrder |