opposite is true if i use last
# prisma-whats-new
w
opposite is true if i use last
n
you would use them together with before and after instead
first after, last before
w
so you need to pass the item ID?
instead of using skip
n
yup - even though I'm not completely sure how to assess your observation
quote from the Relay Cursor Connection specification
If the client is paginating with first/after, then the client may return true if edges prior to after exist, if it can do so efficiently, otherwise may return false.
w
hmmmm
might just do my own calculations for pagination then -seems harder than it should be
why can’t it just tell me if there are items behind me?
I guess you didn’t write the relay spec 🙂
n
it's a good point, I don't have the answer right now. Would you mind creating a question here, so I can follow up? https://github.com/graphcool/prisma
w
Ah its okay - I see from googling that it’s just a standard relay thing that no one seems to understand - I don’t expect you to go against the spec
n
Gotcha! 🙂 my head is fuming when I read the spec haha