Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix pagination indicators when using list slices #36

Closed
wants to merge 1 commit into from

Conversation

hkwi
Copy link

@hkwi hkwi commented Mar 19, 2021

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
Copy link
Member

Cito commented Mar 19, 2021

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

@hkwi
Copy link
Author

hkwi commented Mar 19, 2021

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