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..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 @@ -1044,6 +1044,14 @@ 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 + +- 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. +For more information, see [Pagination in GraphQL](graphql_queries.md#pagination). + ### Update search indexes Ensure your search index is up to date with the following command: