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

Get with pagination support #12

Merged
merged 2 commits into from
Oct 22, 2024
Merged

Get with pagination support #12

merged 2 commits into from
Oct 22, 2024

Conversation

rchrabas
Copy link
Contributor

@rchrabas rchrabas commented Oct 21, 2024

Renamed existing Get function to get
Implemented new Get function that:

  • If path includes parameters limit or offset, returns raw get output
  • Does query using get function. If result does not include pagination details, return raw output
  • If result included pagination details, collect all pages and return combined value

@rchrabas rchrabas requested a review from danischm October 21, 2024 20:36
@danischm danischm merged commit 25dee18 into netascode:main Oct 22, 2024
1 check passed
@rchrabas rchrabas changed the title GetAll - get with pagination support Get with pagination support Oct 23, 2024
@rchrabas rchrabas deleted the pagination branch November 13, 2024 11:31
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.

2 participants