Pagination in GraphQL
We have slicing via limit: INT, but we do not have the ability to specify an offset. Are there plans to add this soon?
GraphQL Documentation actually specifies their pagination terms as follows:
Are there plans to implement this at all?
Pagination is such a standard feature which is essential on all but tiny datasets. Without doubt there should be a way to handle it built in by default. I don't understand why this isn't implemented. I can't see any downsides.
I agree. Without it, the usefulness of the Graphql interface is quite limited. Well, no progress in two years on this topic. I guess we have to use AWS or DGraph instead of MongoDb.
Agree. Please can we get an ETA for this.
ETA for this feature? We are in 2022 and it is difficult to understand why, such an important and critical feature, is not yet available.
I Putu Yoga commented
AWS AppSync has this. That would be great if Realm GraphQL supports this.
Would be great if this would be offered out of the box as it is a common pattern/solution in many use cases.
This is business critical for us as well first and offset would work well with most graphql clients. Here is the article on pagination from GraphQL Docs https://graphql.org/learn/pagination/
I have been advised of a workaround including writing GraphQL Custom Resolver and function which accepts find and limit parameters.
However I still believe this has to be out of the box feature.