Class GraphQLScalarTypeFunction

java.lang.Object
graphql.kickstart.autoconfigure.annotations.GraphQLScalarTypeFunction
All Implemented Interfaces:
graphql.annotations.processor.typeFunctions.TypeFunction

public class GraphQLScalarTypeFunction extends Object implements graphql.annotations.processor.typeFunctions.TypeFunction
Maps Java classes to the corresponding scalar definitions.
  • Constructor Details

    • GraphQLScalarTypeFunction

      public GraphQLScalarTypeFunction()
  • Method Details

    • canBuildType

      public boolean canBuildType(Class<?> aClass, AnnotatedType annotatedType)
      Specified by:
      canBuildType in interface graphql.annotations.processor.typeFunctions.TypeFunction
    • buildType

      public graphql.schema.GraphQLType buildType(boolean input, Class<?> aClass, AnnotatedType annotatedType, graphql.annotations.processor.ProcessingElementsContainer container)
      Specified by:
      buildType in interface graphql.annotations.processor.typeFunctions.TypeFunction