An interface to describe a property to be used in the creation of a GraphQL schema
Type Params | Return Type | Name and description |
---|---|---|
|
DataFetcher |
getDataFetcher()
|
|
java.lang.String |
getDeprecationReason() @return The reason why the property is deprecated, or null if it isn't |
|
java.lang.String |
getDescription() @return The description of the property |
|
GraphQLType |
getGraphQLType(GraphQLTypeManager typeManager, GraphQLPropertyType propertyType) @param typeManager The returnType manager used to retrieve GraphQL types |
|
java.lang.String |
getName() @return The name of the property |
|
boolean |
isDeprecated() @return True if the property is deprecated |
|
boolean |
isInput() @return True if the property is to be used for input operations (CREATE/UPDATE) |
|
boolean |
isNullable() @return True if the property allows nulls |
|
boolean |
isOutput() @return True if the property is to be used for output operations (GET/LIST) |
typeManager
- The returnType manager used to retrieve GraphQL typespropertyType
- The returnType of property being created