3 ms·
I've liked GraphQL the few times I've used it, but I think the standard way of doing pagination with `node`s and `edge`s makes me feel less like I'm working wit
by jpdb 5y ago
I've liked GraphQL the few times I've used it, but I think the standard way of doing pagination with `node`s and `edge`s makes me feel less like I'm working with my data and more some odd abstraction. I think if I used GraphQL more I could get over it, but that aspect always makes me wish for just a bit more.
- crubier 5y agoWhat you are talking about is the Relay specification, not GraphQL. Relay is completely optional and only a way to optimize performance of client side stuff. Here is how you deal with lists in normal GraphQL: type Query { projects(first: Int): [Project!]! } type Project { id: Int name: String }