Strapi V4 handle pagination in GraphQL custom resolver

Note sure if this is relevant, but since you seem stuck perhaps this custom REST API controller could give you some insights. I use it with the following query: /api/lists/library?pagination[page]=1&pagination[pageSize]=15

async library(ctx) {
  const { results, pagination } = await strapi.service("api::list.list").find({
    sort: ["updatedAt:desc"],
    populate: ["author.profile", "cover"],
    pagination: ctx.request.query?.pagination || {},
  })


  ctx.send({ results, pagination })
}

If not, I would recommend looking into the core service package and cherry-pick the individual functions needed.

we can’t rely on this forum, can we? very bad.

Agree 100 %. The Community (slack and forum) are the worst part of Strapi, and probably their biggest weakness in the long run. I’m just waiting for an equally robust alternative and I’m gone.