Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions docs/api/graphql/graphql_queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Original file line number Diff line number Diff line change
Expand Up @@ -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).
2 changes: 1 addition & 1 deletion docs/release_notes/ibexa_dxp_v4.6.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Loading