Annotation Type GraphQLQuery


  • @Retention(RUNTIME)
    @Target({TYPE,METHOD})
    public @interface GraphQLQuery
    This annotation marks all generated classes that are queries/mutations/subscription, as defined in the GraphQL schema.
    Author:
    etienne-sf
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String name
      The name of the query/mutation/subscription, that is represented by the annotated java class, as defined in the GraphQL schema.
      RequestType type
      The type : query, mutation or subscription, as defined in the GraphQL schema.
    • Element Detail

      • name

        java.lang.String name
        The name of the query/mutation/subscription, that is represented by the annotated java class, as defined in the GraphQL schema.
      • type

        RequestType type
        The type : query, mutation or subscription, as defined in the GraphQL schema.