nursing-limeN
Refine2y ago
3 replies
nursing-lime

Hi Everyone.

Hi Everyone.
I am building some CRUD pages in our product and found Refine to be a great fit for our case.
With that, I am having an issue - I am using @refinedev/graphql provider, and can't figure out how to make pagination work.

My list query returns an array of entities, and I don't see a way to add count variable.
it is used here in provider
            return {
                data: response[operation],
                total: response[operation].count,
            };


my query is defined as entities(...): [Entity!]! how can I add count here?

Any advice is deeply appreciated.
Was this page helpful?