Skip to content

Commit 53101f2

Browse files
adriendupuismnocon
andauthored
GraphQL relations pagination change from 4.6 to 5.0 (#2891)
* About …`ibexa_object_relation_list.enable_pagination` * About …`ibexa_object_relation_list.enable_pagination` * About …`ibexa_object_relation_list.enable_pagination` * Apply suggestions from code review Co-authored-by: Marek Nocoń <[email protected]> --------- Co-authored-by: Marek Nocoń <[email protected]>
1 parent de38955 commit 53101f2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/update_and_migration/from_4.6/update_to_5.0.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1044,6 +1044,14 @@ If you are using GraphQL in your project, you can generate its schema by running
10441044
php bin/console ibexa:graphql:generate-schema
10451045
```
10461046

1047+
### Upgrade GraphQL usage
1048+
1049+
- 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
1050+
- 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
1051+
1052+
If you have code based on `relations` request returning the entire list, you have to update it.
1053+
For more information, see [Pagination in GraphQL](graphql_queries.md#pagination).
1054+
10471055
### Update search indexes
10481056

10491057
Ensure your search index is up to date with the following command:

0 commit comments

Comments
 (0)