anyone managed to make the pagination work properl...
# orm-help
l
anyone managed to make the pagination work properly? my case: I have 10 posts
Copy code
prisma.postsConnection({
    first: 2,
    skip: 2,
})
I would expect this to return the following:
{ nodes: [{...}, {...}], pageInfo: { hasNextPage: true, hasPreviousPage: true, endCursor: "...", startCursor: "..."} }
however, the
hasPreviousPage
is always
false
. Don’t know if feature doesn’t work or if I’m missing something