File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed
commercetools/internal-docs/src/test/java/example Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -22,3 +22,4 @@ fcdaa3d6735d2382a44d066a6ce051a2c5e6469f
2222c4e2bf407aa0b7a3d34605134791013ba8a2d376
23239232c8f806b5eebeff35c09b1616b6598f3f5e73
2424062fb57831db2e3e25afc1bd63cf8b09d46ffa67
25+ 13fa17ad575aadf0ef823d63d86fbbdd4a37cd9b
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!) {
396- orders(where: $where, sort: "id asc", limit: $limit) {
397- results {
398- id
399- version
400- }
401- }
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