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

Feature: Pagination #21

Open
alvintangz opened this issue May 23, 2021 · 0 comments
Open

Feature: Pagination #21

alvintangz opened this issue May 23, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@alvintangz
Copy link
Member

alvintangz commented May 23, 2021

Description of the problem

For all list commands, the output could be too huge.

Potential Solutions

In the develop branch of the backend project, we added pagination to most list endpoints. Add flags to list commands to utilize pagination query parameters. The flags should be optional and if none are provided, utilize the default pagination size and page or don't provide query parameters to the request at all.

Clone the backend project and go to the develop branch. Set up the backend environment and ask @egamble01 (snowcrash on Discord) for authentication credentials to the development database. Serve up the backend, modify the base URL and authentication key with the configure command. Make sure to generate new code from the openapi spec.

Commit message

feat: Added optional pagination flags such as page and size to most list commands

@alvintangz alvintangz added the enhancement New feature or request label May 23, 2021
@gesarki gesarki self-assigned this May 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants