Class GraphQLResponseProjection

java.lang.Object
io.github.besi97.graphql.codegen.model.graphql.GraphQLResponseProjection

public abstract class GraphQLResponseProjection extends Object
The implementation class should contain the fields of the particular type that should be returned to the client.
  • Field Details

    • fields

      protected final Map<Pair<String,String>,GraphQLResponseField> fields
      Contains all response projection fields, where: key - is the name+alias pair (where alias is nullable) value - is GraphQLResponseField which represents the response projection field
  • Constructor Details

    • GraphQLResponseProjection

      protected GraphQLResponseProjection()
    • GraphQLResponseProjection

      protected GraphQLResponseProjection(GraphQLResponseProjection projection)
    • GraphQLResponseProjection

      protected GraphQLResponseProjection(List<? extends GraphQLResponseProjection> projections)
  • Method Details