From 24dff24651b057649c6847ddd7c7e9df7fe2bbf3 Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Tue, 2 Sep 2025 12:15:00 +0200 Subject: [PATCH 1/4] =?UTF-8?q?About=20=E2=80=A6`ibexa=5Fobject=5Frelation?= =?UTF-8?q?=5Flist.enable=5Fpagination`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/update_and_migration/from_4.6/update_to_5.0.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/update_and_migration/from_4.6/update_to_5.0.md b/docs/update_and_migration/from_4.6/update_to_5.0.md index b24dd7bd13..1bba8125d9 100644 --- a/docs/update_and_migration/from_4.6/update_to_5.0.md +++ b/docs/update_and_migration/from_4.6/update_to_5.0.md @@ -1044,6 +1044,11 @@ If you are using GraphQL in your project, you can generate its schema by running php bin/console ibexa:graphql:generate-schema ``` +### Upgrade GraphQL usage + +4.6's `ibexa.graphql.schema.ibexa_object_relation_list.enable_pagination` parameter doesn't exist anymore in 5.0: pagination is always activated and can't be disabled. +If you have code based on `relations` request returning the entire list, you have to update it, see [Pagination in GraphQL](graphql_queries.md#pagination). + ### Update search indexes Ensure your search index is up to date with the following command: From 0292eed3d276d83ab847c12ceddcd36509433eee Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Tue, 2 Sep 2025 12:19:59 +0200 Subject: [PATCH 2/4] =?UTF-8?q?About=20=E2=80=A6`ibexa=5Fobject=5Frelation?= =?UTF-8?q?=5Flist.enable=5Fpagination`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/update_and_migration/from_4.6/update_to_5.0.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/update_and_migration/from_4.6/update_to_5.0.md b/docs/update_and_migration/from_4.6/update_to_5.0.md index 1bba8125d9..53d5791992 100644 --- a/docs/update_and_migration/from_4.6/update_to_5.0.md +++ b/docs/update_and_migration/from_4.6/update_to_5.0.md @@ -1046,7 +1046,11 @@ php bin/console ibexa:graphql:generate-schema ### Upgrade GraphQL usage -4.6's `ibexa.graphql.schema.ibexa_object_relation_list.enable_pagination` parameter doesn't exist anymore in 5.0: pagination is always activated and can't be disabled. +4.6's `ibexa.graphql.schema.ibexa_object_relation_list.enable_pagination` parameter doesn't exist anymore in 5.0: + +- In 4.6, `relations` pagination is disabled by default, and can be enabled thanks to `ibexa.graphql.schema.ibexa_object_relation_list.enable_pagination` parameter +- In 5.0, pagination is always activated and can't be disabled (the previous parameter doesn't exist anymore and is ignored from config) + If you have code based on `relations` request returning the entire list, you have to update it, see [Pagination in GraphQL](graphql_queries.md#pagination). ### Update search indexes From 8c249d53d2a6de413d4d277ac5eb5752c24d6c56 Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Tue, 2 Sep 2025 12:21:41 +0200 Subject: [PATCH 3/4] =?UTF-8?q?About=20=E2=80=A6`ibexa=5Fobject=5Frelation?= =?UTF-8?q?=5Flist.enable=5Fpagination`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/update_and_migration/from_4.6/update_to_5.0.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/update_and_migration/from_4.6/update_to_5.0.md b/docs/update_and_migration/from_4.6/update_to_5.0.md index 53d5791992..251ee0b548 100644 --- a/docs/update_and_migration/from_4.6/update_to_5.0.md +++ b/docs/update_and_migration/from_4.6/update_to_5.0.md @@ -1046,8 +1046,6 @@ php bin/console ibexa:graphql:generate-schema ### Upgrade GraphQL usage -4.6's `ibexa.graphql.schema.ibexa_object_relation_list.enable_pagination` parameter doesn't exist anymore in 5.0: - - In 4.6, `relations` pagination is disabled by default, and can be enabled thanks to `ibexa.graphql.schema.ibexa_object_relation_list.enable_pagination` parameter - In 5.0, pagination is always activated and can't be disabled (the previous parameter doesn't exist anymore and is ignored from config) From cfeed11d16e3cb8d2e0948dc58a1b56f5acdfe55 Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Mon, 8 Sep 2025 09:33:20 +0200 Subject: [PATCH 4/4] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Marek NocoĊ„ --- docs/update_and_migration/from_4.6/update_to_5.0.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/update_and_migration/from_4.6/update_to_5.0.md b/docs/update_and_migration/from_4.6/update_to_5.0.md index 251ee0b548..7d391f4d11 100644 --- a/docs/update_and_migration/from_4.6/update_to_5.0.md +++ b/docs/update_and_migration/from_4.6/update_to_5.0.md @@ -1046,10 +1046,11 @@ php bin/console ibexa:graphql:generate-schema ### Upgrade GraphQL usage -- In 4.6, `relations` pagination is disabled by default, and can be enabled thanks to `ibexa.graphql.schema.ibexa_object_relation_list.enable_pagination` parameter -- In 5.0, pagination is always activated and can't be disabled (the previous parameter doesn't exist anymore and is ignored from config) +- In 4.6, pagination for [RelationList field type](relationlistfield.md) is disabled by default, and can be enabled using the `ibexa.graphql.schema.ibexa_object_relation_list.enable_pagination` parameter +- In 5.0, pagination for RelationList field type is always activated and can't be disabled. The previous parameter doesn't exist anymore and is ignored if set -If you have code based on `relations` request returning the entire list, you have to update it, see [Pagination in GraphQL](graphql_queries.md#pagination). +If you have code based on `relations` request returning the entire list, you have to update it. +For more information, see [Pagination in GraphQL](graphql_queries.md#pagination). ### Update search indexes