Class EnumTypesGenerator

java.lang.Object
io.jmix.graphql.schema.EnumTypesGenerator

@Component("gql_EnumTypesGenerator") public class EnumTypesGenerator extends Object
  • Constructor Details

    • EnumTypesGenerator

      public EnumTypesGenerator()
  • Method Details

    • generateEnumTypes

      public Collection<graphql.schema.GraphQLType> generateEnumTypes()
    • generateEnumType

      public static graphql.schema.GraphQLEnumType generateEnumType(Class<?> javaType)
    • getEnumValueDef

      protected static Stream<graphql.schema.GraphQLEnumValueDefinition> getEnumValueDef(Enum<?> anEnum)