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

entoas: add boundaries for page and itemsPerPage pagination params #424

Merged
merged 1 commit into from
Jan 2, 2023

Conversation

masseelch
Copy link
Collaborator

Ensures the itemsPerPage parameter is at least 1 and less than 255. Added the MinItemsPerPage() and MaxItemsPerPage() options for configuration.

@masseelch masseelch force-pushed the entoas/validate_items_per_page branch from 256c48b to dab3297 Compare January 2, 2023 09:50
@masseelch masseelch merged commit 68899f1 into master Jan 2, 2023
@masseelch masseelch deleted the entoas/validate_items_per_page branch January 2, 2023 09:55
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