Help needed! Can't get paginate to work. #959
Unanswered
Abdulhadi-Zakkour
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Unfortunately from the given information it's not obvious where the problem is, certainly You have to debug this yourself, check what the query result itself looks like for a start. Or create a new project and try to reproduce it and share it, then I can take a look. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I'm building a Laravel e-commerce app and want to paginate the queries. I opted to use the built-in pagination class as it is sufficient for my purposes.
I built the listings query as follows:
I used this query:
When I use
return GraphQL::paginate('ProductListingType', 'ProductListing');
the result of the query looks like this:While the result of the query when the type is set to
return Type::listOf(GraphQL::type('ProductListing'));
is like this:I did not change pagination_type in the config file.
What am I doing wrong here?
Beta Was this translation helpful? Give feedback.
All reactions