Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
960a7548
Commit
960a7548
authored
May 27, 2020
by
Natalia Tepluhina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed a note about pagination limitations
parent
0f896bd4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
+0
-12
doc/development/fe_guide/graphql.md
doc/development/fe_guide/graphql.md
+0
-12
No files found.
doc/development/fe_guide/graphql.md
View file @
960a7548
...
...
@@ -411,18 +411,6 @@ fetchNextPage() {
Please note we don't have to save
`pageInfo`
one more time;
`fetchMore`
triggers a query
`result`
hook as well.
#### Limitations
Currently, bidirectional pagination doesn't work:
-
`hasNextPage`
returns a correct value only when we paginate forward using
`endCursor`
and
`first`
parameters.
-
`hasPreviousPage`
returns a correct value only when we paginate backward using
`startCursor`
and
`last`
parameters.
This should be resolved in the scope of the issue
[
Bi-directional Pagination in GraphQL doesn't work as expected
](
https://gitlab.com/gitlab-org/gitlab/-/issues/208301
)
.
### Testing
#### Mocking response as component data
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment