Annotation Type GraphQLRepository


@Documented
@Retention(RUNTIME)
@Target(TYPE)
public @interface GraphQLRepository
  • Optional Element Summary

    Optional Elements 
    Modifier and Type Optional Element Description
    java.lang.Class<? extends GraphQLQueryExecutor> queryExecutor
    When more than one GraphQL schema are used, a GraphQL Repository requests may be relative to only one GraphQL schema.
    java.lang.String value
    The name of the Spring bean to build.
  • Element Details

    • value

      java.lang.String value
      The name of the Spring bean to build. Default is to use the interface name as the bean name
      Default:
      ""
    • queryExecutor

      java.lang.Class<? extends GraphQLQueryExecutor> queryExecutor
      When more than one GraphQL schema are used, a GraphQL Repository requests may be relative to only one GraphQL schema. In this case, the queryExecutor value is mandatory: it must provide the queryExecutor of this GraphQL schema.
      Default:
      com.graphql_java_generator.client.GraphQLQueryExecutor.class