diff options
Diffstat (limited to 'doc/development/graphql_guide')
-rw-r--r-- | doc/development/graphql_guide/authorization.md | 2 | ||||
-rw-r--r-- | doc/development/graphql_guide/pagination.md | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/doc/development/graphql_guide/authorization.md b/doc/development/graphql_guide/authorization.md index ee5713f6fda..8f17a8b6c93 100644 --- a/doc/development/graphql_guide/authorization.md +++ b/doc/development/graphql_guide/authorization.md @@ -148,7 +148,7 @@ end ``` In this example, we use field authorization (such as -`Ability.allowed?(current_user, :read_transactions, bank_account)`) to avoid +`Ability.allowed?(current_user, :read_transactions, bank_account)`) to avoid a more expensive query: ```ruby diff --git a/doc/development/graphql_guide/pagination.md b/doc/development/graphql_guide/pagination.md index 55ff7942418..5db9238faed 100644 --- a/doc/development/graphql_guide/pagination.md +++ b/doc/development/graphql_guide/pagination.md @@ -12,6 +12,10 @@ GitLab uses two primary types of pagination: **offset** and **keyset** (sometimes called cursor-based) pagination. The GraphQL API mainly uses keyset pagination, falling back to offset pagination when needed. +### Performance considerations + +See the [general pagination guidelines section](../database/pagination_guidelines.md) for more information. + ### Offset pagination This is the traditional, page-by-page pagination, that is most common, |