ardalis / ardalis/Result

Add next page token to PagedResult

Open
#82 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1k
Forks
127
PR merge metrics
No merged PRs in 30d

Description

In many cases a token for the next page is used, but neither PagedResult or PagedInfo includes this.
This could be solved by adding a string property to either PagedResult or PagedInfo.

I'm glad to do a PR with proposed changes.

Contributor guide

Open the contributing guide

Research direction

Start by locating the PagedResult and PagedInfo definitions and reading how paged results are constructed and consumed. Determine which type should carry the string next-page token, then verify that the selected type exposes it wherever pagination results are returned. Done means callers can provide and retrieve the token without breaking existing result usage.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend-api-design
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.