Package com.commercetools.graphql.api
Class GraphQLQueryRequestBuilder<TData,T extends com.netflix.graphql.dgs.client.codegen.BaseProjectionNode>
java.lang.Object
com.commercetools.graphql.api.GraphQLQueryRequestBuilder<TData,T>
public class GraphQLQueryRequestBuilder<TData,T extends com.netflix.graphql.dgs.client.codegen.BaseProjectionNode>
extends Object
-
Constructor Summary
ConstructorDescriptionGraphQLQueryRequestBuilder
(com.netflix.graphql.dgs.client.codegen.GraphQLQuery query, T projectionRoot, Function<GraphQLData, TData> dataMapper) -
Method Summary
Modifier and TypeMethodDescriptionprojection
(Function<T, com.netflix.graphql.dgs.client.codegen.BaseProjectionNode> projectionFn)
-
Constructor Details
-
GraphQLQueryRequestBuilder
public GraphQLQueryRequestBuilder(com.netflix.graphql.dgs.client.codegen.GraphQLQuery query, T projectionRoot, Function<GraphQLData, TData> dataMapper)
-
-
Method Details
-
projection
public GraphQLRequest<TData> projection(Function<T, com.netflix.graphql.dgs.client.codegen.BaseProjectionNode> projectionFn)
-