Package com.graphql_java_generator.plugin.language
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
-
ClassDescriptionContains getter for the attributes of a GraphQL directive, as it has been applied on an item of the GraphQL schema.A BatchLoader represents a
BatchLoader
, and contains all the information to generate the code to use it.All types found in the GraphQL schema(s), and discovered during the GraphQL parsing, are instance ofCustomScalar
.This class represents a GraphQL Data Fetcher.This class represents a GraphQL Data Fetcher Delegate.This class matches the description of a GraphQL item, as described in the GraphQL schema.Contains getter for the attributes of a GraphQL directive definition.All possible directive locationsRepresents one of the possible values of a GraphQL Enum.This interface describes one field of one object type (or interface...).This class is a transcription of the GraphQL type of a field, as it has been read in the AST.This class describes a relation between two objects or interfaces of the GraphQL Schema.The four kind of JPA RelationsAll types found in the GraphQL schema(s), and discovered during the GraphQL parsing, are instance ofType
.