C#C
C#3y ago
5 replies
Core

2 way cursor pagination design

Hi!

If you were to implement a two-way cursor pagination with next_cursor and prev_cursor for an API endpoint, how would you handle the case when both cursors were provided in the request?

1. Error message
2. Prioritize one of the 2 cursors
Was this page helpful?