-
Notifications
You must be signed in to change notification settings - Fork 822
How to add pagination ? #416
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
Comments
Use cursor, and standard query args (first, after, and etc.) |
@ivlevdenis any code snippet or link to example code would be nice. |
@un33k ok. Simple query.
This response with meta about cursor state:
For next portion of offers need call this query:
This return
|
@ivlevdenis Looking for a working graphene pagination example. No problem with the concept or the frontend. Thx |
@un33k for graphene+django this work "from box". It's tested and worked query's from real app. |
It doesn't for me.. |
Doesn't work for me either. |
Is not working for me either and i think the calculations for those fields in graphql-relay are not right or documentation is not clear. The solution is actually here but hasn't been merged yet |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@syrusakbary @dan98765 Please merge this PR for the above issue fix https://github.com/graphql-python/graphql-relay-py/pull/14/files |
Uh oh!
There was an error while loading. Please reload this page.
In the swapi star wars example:
https://github.com/graphql-python/swapi-graphene/blob/master/starwars/schema.py
and query
It seems 'after' keyword is not supported? (https://facebook.github.io/relay/docs/graphql-connections.html#content)
I tried the following query
http://swapi.graphene-python.org/graphql
and always getting this
which is just the first in a row?
The text was updated successfully, but these errors were encountered: