DEV Community

Discussion on: Implementing pagination with AWS AppSync

Collapse
 
zirkelc profile image
Chris Cook

I'm currently evaluating the pagination of list queries generated by Amplify. The first initial query with a limit variable does return an empty items array and a nextToken. Then I have to send a second query with this nextToken to get the actual first batch of items. Is this normal? Why doesn't the first query return items plus pagination token?