Skip to content

Fix pagination indicators when using list slices#36

Closed
hkwi wants to merge 1 commit into
graphql-python:masterfrom
hkwi:pagination-indicators
Closed

Fix pagination indicators when using list slices#36
hkwi wants to merge 1 commit into
graphql-python:masterfrom
hkwi:pagination-indicators

Conversation

@hkwi

@hkwi hkwi commented Mar 19, 2021

Copy link
Copy Markdown

According to the spec, if hasNextPage and hasPreviousPage should be set regardless of the pagination direction if they can be efficiently computed.

This is updated version of #14
Thanks to https://github.com/sciyoshi/graphql-relay-py/tree/pagination-indicators

According to the spec, if hasNextPage and hasPreviousPage should be set
regardless of the pagination direction if they can be efficiently computed.
@hkwi hkwi requested a review from Cito as a code owner March 19, 2021 17:10
@Cito

Cito commented Mar 19, 2021

Copy link
Copy Markdown
Member

See comments on #14 and #30. Such things should be fixed upstream since this is a port of graphql-relay-js.

@hkwi

hkwi commented Mar 19, 2021

Copy link
Copy Markdown
Author

Ah, thanks for pointing it out.
https://relay.dev/graphql/connections.htm#sec-undefined.PageInfo.Fields

@hkwi hkwi closed this Mar 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants