diff --git a/activiti-cloud-notifications-graphql-service/pom.xml b/activiti-cloud-notifications-graphql-service/pom.xml
index 2de54ded37..a33c162343 100644
--- a/activiti-cloud-notifications-graphql-service/pom.xml
+++ b/activiti-cloud-notifications-graphql-service/pom.xml
@@ -12,7 +12,7 @@
Activiti Cloud Notifications GraphQL Service :: Parent
pom
- 1.2.10
+ 1.2.11
diff --git a/activiti-cloud-notifications-graphql-service/starter/src/test/java/org/activiti/cloud/notifications/graphql/starter/ActivitiGraphQLStarterIT.java b/activiti-cloud-notifications-graphql-service/starter/src/test/java/org/activiti/cloud/notifications/graphql/starter/ActivitiGraphQLStarterIT.java
index 22d03b25f8..b0f124f191 100644
--- a/activiti-cloud-notifications-graphql-service/starter/src/test/java/org/activiti/cloud/notifications/graphql/starter/ActivitiGraphQLStarterIT.java
+++ b/activiti-cloud-notifications-graphql-service/starter/src/test/java/org/activiti/cloud/notifications/graphql/starter/ActivitiGraphQLStarterIT.java
@@ -1574,6 +1574,46 @@ public void testGraphqlAggregateTasksQuery() {
assertThat(result.getData().toString()).isEqualTo(expected);
}
+ @Test
+ public void testGraphqlPagedQueryWithAliasedResults() {
+ GraphQLQueryRequest query = new GraphQLQueryRequest(
+ """
+ query {
+ page1: Tasks(page: {start: 1, limit: 2}) {
+ select {
+ id
+ name
+ }
+ }
+ page2: Tasks(page: {start: 3, limit: 2}) {
+ select {
+ id
+ name
+ }
+ }
+ }
+ """
+ );
+
+ ResponseEntity entity = rest.postForEntity(
+ GRAPHQL_URL,
+ new HttpEntity<>(query, authHeaders),
+ GraphQLQueryResult.class
+ );
+
+ assertThat(entity.getStatusCode()).describedAs(entity.toString()).isEqualTo(HttpStatus.OK);
+
+ GraphQLQueryResult result = entity.getBody();
+
+ assertThat(result).isNotNull();
+ assertThat(result.getErrors()).isNull();
+
+ var expected =
+ "{page1={select=[{id=1, name=task1}, {id=2, name=task2}]}, page2={select=[{id=5, name=task5}, {id=6, name=task6}]}}";
+
+ assertThat(result.getData().toString()).isEqualTo(expected);
+ }
+
public static StringObjectMapBuilder mapBuilder() {
return new StringObjectMapBuilder();
}