Annotation Interface GraphQlServer.Field

Enclosing class:
GraphQlServer

@Target(METHOD) @Retention(CLASS) @Documented public static @interface GraphQlServer.Field
Exposes a child field resolver for a GraphQL type.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    GraphQL field name.
  • Element Details

    • value

      String value
      GraphQL field name. When empty, the Java method name is used.
      Returns:
      GraphQL field name
      Default:
      ""