Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paginated response #8

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open

Paginated response #8

wants to merge 2 commits into from

Conversation

skosito
Copy link
Contributor

@skosito skosito commented Sep 13, 2021

Adds GetPaginated method which is used in List methods.
All list wrapper methods are returning Response struct which contains total count, and can be extended with additional data in future.
GetPaginated method is returning PaginatedResponse with results and totalCount, which ofc can also be more generic with more generic Response, but this fits in imo for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant