Package com.graphql_java_generator.plugin.language

All interfaces that contain the description of the graphql schema definition, but in a structured way. The aim of these interfaces is to be a stable format to be usde in the Velocity templates, for the code generation. This has two objectives:
  • A structured format is necessary for any template engine, like Velocity. And the default GraphQL AST can not be used in the simple scripts of template engines.
  • This format MUST BE STABLE (this remark is for contributors), as it is (or will be, at the time I write these lines) possible that a developper specify his/her own templates, specific to his/her use case. This is personalization is very important to allow the plugin in a wide range of cases, as it is impossible to have a generic code generation that cover all existing use cases, data structure model, techonology...
Author:
etienne-sf
  • Interface Summary 
    Interface Description
    AppliedDirective
    Contains getter for the attributes of a GraphQL directive, as it has been applied on an item of the GraphQL schema.
    BatchLoader
    A BatchLoader represents a BatchLoader, and contains all the information to generate the code to use it.
    CustomScalar
    All types found in the GraphQL schema(s), and discovered during the GraphQL parsing, are instance of CustomScalar.
    DataFetcher
    This class represents a GraphQL Data Fetcher.
    DataFetchersDelegate
    This class represents a GraphQL Data Fetcher Delegate.
    Directive
    Contains getter for the attributes of a GraphQL directive definition.
    EnumValue
    Represents one of the possible values of a GraphQL Enum.
    Field
    This interface describes one field of one object type (or interface...).
    Relation
    This class describes a relation between two objects or interfaces of the GraphQL Schema.
    Type
    All types found in the GraphQL schema(s), and discovered during the GraphQL parsing, are instance of Type.
  • Class Summary 
    Class Description
    FieldTypeAST
    This class is a transcription of the GraphQL type of a field, as it has been read in the AST.
  • Enum Summary 
    Enum Description
    DirectiveLocation
    All possible directive locations
    RelationType
    The four kind of JPA Relations
    Type.GraphQlType