File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed
commercetools/internal-docs/src/test/java/example Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -391,15 +391,11 @@ public void graphQLAllOrders() {
391391 int limit = 10 , total_length = 0 ;
392392 String lastId = null ;
393393 while (limitNotReached ) {
394- GraphQLRequestBuilder <OrderQueryResult > orderBuilder = GraphQL .query (
395- "query Orders($where: String, $limit: Int!) {\n " +
396- "orders(where: $where, sort: \" id asc\" , limit: $limit) {\n " +
397- "results {\n " +
398- "id\n " +
399- "version\n " +
400- "}\n " +
401- "}\n " +
402- "}" ).dataMapper (GraphQLData ::getOrders );
394+ GraphQLRequestBuilder <OrderQueryResult > orderBuilder = GraphQL
395+ .query ("query Orders($where: String, $limit: Int!) {\n "
396+ + "orders(where: $where, sort: \" id asc\" , limit: $limit) {\n " + "results {\n " + "id\n "
397+ + "version\n " + "}\n " + "}\n " + "}" )
398+ .dataMapper (GraphQLData ::getOrders );
403399
404400 var variables = GraphQLVariablesMap .builder ().addValue ("limit" , limit );
405401 if (lastId != null ) {
You can’t perform that action at this time.
0 commit comments