Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
2 answers
240 views

How to do counts in batch for graphql data loader?

I'm implementing a Graphql resolver for complex datatype. I try to use a data loader to avoid N+1 problem. I have a datatype with a counter. Therefore, in one graphql query I need to perform user ...
Ivan Banha's user avatar
4 votes
1 answer
2k views

Graphql nested cursor based pagination, resolver and SQL query

Is there a way to implement graphql cursor based pagination with nested pagination queries in a performant way? Let's say we have 3 pseudo graphql types: type User { id: ID! books: [Book!]! } ...
ZiiMakc's user avatar
  • 36.4k
2 votes
0 answers
366 views

SQL pagination issues, and specifically with GraphQL data-loading

I've been doing some research on how to set up a new GraphQL API project, but am running into some basic conceptual? problems in trying to find out how to do pagination and nested database queries ...
Kelley van Evert's user avatar
5 votes
1 answer
2k views

How to improve performance on nested graphql connections when using pagination

I'm trying to implement some kind of a basic social network project. It has Posts, Comments and Likes like any other. A post can have many comments A post can have many likes A post can have one ...
Onur Önder's user avatar
  • 1,032