Skip to content

Commit

Permalink
fix: Format pagination doc
Browse files Browse the repository at this point in the history
  • Loading branch information
christiannwamba committed Jan 8, 2025
1 parent 9de993e commit 1a29836
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/guides/pagination.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ Imagine you have 300 customers in your Ory project, and you want to list them 10
- If you need to start from the beginning, use the `first` link or omit the `page_token` parameter.
- Keep track of the previous/current `next` token to allow for backward pagination through your results.
- Be prepared for the maximum `page_size` to change. Your implementation should handle such changes gracefully.
- Do not attempt to reverse engineer or make assumptions about the `page_token` format, as it may change without notice. Always treat it as an opaque string.
- Do not attempt to reverse engineer or make assumptions about the `page_token` format, as it may change without notice. Always
treat it as an opaque string.

By leveraging token-based pagination, you can efficiently navigate through large datasets in Ory, ensuring consistent and
performant data retrieval.
Expand Down

0 comments on commit 1a29836

Please sign in to comment.