Annotation Type GraphQLId


  • @Retention(RUNTIME)
    @Target({PARAMETER,TYPE_USE,FIELD,TYPE})
    public @interface GraphQLId
    Denotes the annotated element is to be mapped as a GraphQL ID NOTE: Due to the lack of support for AnnotatedType in all JSON libraries for Java, ElementType.TYPE_USE annotations on input field types or nested operation argument types are lost. Thus, such annotations can only safely be used on top-level argument or output types.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean relayId  
    • Field Detail

      • RELAY_ID_FIELD_NAME

        static final String RELAY_ID_FIELD_NAME
    • Element Detail

      • relayId

        boolean relayId
        Default:
        false