Interface GraphQLAnnotationsProcessor

  • All Known Implementing Classes:
    GraphQLAnnotations

    public interface GraphQLAnnotationsProcessor
    • 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 a GraphQLTypeExtension annotation.
        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