Commit d22a3d06 authored by Marcel Amirault's avatar Marcel Amirault

Merge branch 'patch-104' into 'master'

Add helpful link to Connection Concepts doc

See merge request gitlab-org/gitlab!30673
parents d9f59a5b 6c8a2dd2
...@@ -298,7 +298,8 @@ handleClick() { ...@@ -298,7 +298,8 @@ handleClick() {
GitLab's GraphQL API uses [Relay-style cursor pagination](https://www.apollographql.com/docs/react/data/pagination/#cursor-based) GitLab's GraphQL API uses [Relay-style cursor pagination](https://www.apollographql.com/docs/react/data/pagination/#cursor-based)
for connection types. This means a "cursor" is used to keep track of where in the data for connection types. This means a "cursor" is used to keep track of where in the data
set the next items should be fetched from. set the next items should be fetched from. [GraphQL Ruby Connection Concepts](https://graphql-ruby.org/pagination/connection_concepts.html)
is a good overview and introduction to connections.
Every connection type (for example, `DesignConnection` and `DiscussionConnection`) has a field `pageInfo` that contains an information required for pagination: Every connection type (for example, `DesignConnection` and `DiscussionConnection`) has a field `pageInfo` that contains an information required for pagination:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment