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?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I'm currently evaluating the pagination of list queries generated by Amplify. The first initial query with a
limitvariable does return an emptyitemsarray and anextToken. Then I have to send a second query with thisnextTokento get the actual first batch ofitems. Is this normal? Why doesn't the first query return items plus pagination token?