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

Pagination algorithm is not comprehensive #104

Closed
vslinko opened this issue Oct 8, 2015 · 2 comments
Closed

Pagination algorithm is not comprehensive #104

vslinko opened this issue Oct 8, 2015 · 2 comments

Comments

@vslinko
Copy link

vslinko commented Oct 8, 2015

I'm trying to implement pagination algorithm for my data and I don't know how to handle cases when first and last are negative.

What is your opinion about this?

ref: https://facebook.github.io/relay/graphql/connections.htm#sec-Pagination-algorithm

@AndrewIngram
Copy link

Should this issue be on Relay instead? Pagination is a Relay feature, not GraphQL

@leebyron
Copy link
Collaborator

leebyron commented Jan 9, 2016

I believe first and last assume positive integers. They should probably throw errors if they're negative. But I agree that you should take this up with https://github.com/facebook/relay

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

No branches or pull requests

3 participants