Interface GraphQLAnnotationsProcessor
-
- All Known Implementing Classes:
GraphQLAnnotations
public interface GraphQLAnnotationsProcessor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidregisterTypeExtension(java.lang.Class<?> objectClass)Register a new type extension class.voidregisterTypeFunction(TypeFunction typeFunction)Allows you to register a new type functionvoidsetRelay(graphql.relay.Relay relay)Allows you to set a custom relay object
-
-
-
Method Detail
-
registerTypeExtension
void registerTypeExtension(java.lang.Class<?> objectClass)
Register a new type extension class. This extension will be used when the extended object will be created. The class must have aGraphQLTypeExtensionannotation.- Parameters:
objectClass- The extension class to register
-
setRelay
void setRelay(graphql.relay.Relay relay)
Allows you to set a custom relay object- Parameters:
relay- The extension class to register
-
registerTypeFunction
void registerTypeFunction(TypeFunction typeFunction)
Allows you to register a new type function- Parameters:
typeFunction- The extension class to register
-
-