diff --git a/docs/api/graphql/graphql_queries.md b/docs/api/graphql/graphql_queries.md index a4efa75763..d38629b8dd 100644 --- a/docs/api/graphql/graphql_queries.md +++ b/docs/api/graphql/graphql_queries.md @@ -838,7 +838,3 @@ children(first: 3, after: "YXJyYXljb25uZWN0aW9uOjM=") ### Get Matrix field type To get a Matrix field type with GraphQL, see [Matrix field type reference](matrixfield.md). - -### Enable pagination for RelationList field type - -To learn how to enable pagination for RelationList field type, see the [RelationList field type reference](relationlistfield.md). diff --git a/docs/content_management/field_types/field_type_reference/relationlistfield.md b/docs/content_management/field_types/field_type_reference/relationlistfield.md index 34c9c37367..164b98028c 100644 --- a/docs/content_management/field_types/field_type_reference/relationlistfield.md +++ b/docs/content_management/field_types/field_type_reference/relationlistfield.md @@ -108,32 +108,7 @@ $validators = [ ]; ``` -### Enable pagination in GraphQL - -To enable pagination for Relation List field type, set the `ibexa.graphql.schema.ibexa_object_relation_list.enable_pagination` parameter to `true`. - -!!! note - - The pagination is enabled by default in [[= product_name =]] v5 and the parameter is removed. - -This allows you to query for only a subset of relations, as in the following example: - -``` graphql -query { - content { - relations(contentId: 71) { - rel(first: 5) { - totalCount, - edges { - node { - _contentInfo { - id - } - } - } - } - } - } -} -``` +### GraphQL integration +This field type supports paginating the results when queried using [GraphQL](graphql.md). +To learn more, see [Pagination in GraphQL](graphql_queries.md#pagination). diff --git a/docs/release_notes/ibexa_dxp_v4.6.md b/docs/release_notes/ibexa_dxp_v4.6.md index 53ff748a66..14d0617e05 100644 --- a/docs/release_notes/ibexa_dxp_v4.6.md +++ b/docs/release_notes/ibexa_dxp_v4.6.md @@ -89,7 +89,7 @@ In addition, you can now use the [Taxonomy limitation](limitation_reference.md#t #### Pagination for ezobjectrelationlist in GraphQL -To improve performance and gain greater control over the returned responses from the [GraphQL API](graphql.md), you can now [enable pagination](relationlistfield.md#enable-pagination-in-graphql) of relations specified using the RelationList field type. +To improve performance and gain greater control over the returned responses from the [GraphQL API](graphql.md), you can now [enable pagination]((https://doc.ibexa.co/en/4.6/content_management/field_types/field_type_reference/relationlistfield#enable-pagination-in-graphql) of relations specified using the RelationList field type. #### Breaking changes