We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Pagination values are of type int and there is some validation done in ParseParams.
int
Maybe the type should be uint and no validation should be done. ParseParams should just assign zero or whatever number is parsed from the URL.
uint
Let the user validate the numbers. Right now, a page size cannot be above 100 which is an arbitrary number that means nothing.
The text was updated successfully, but these errors were encountered:
This seems to have been solved in a recent PR.
Sorry, something went wrong.
mfcochauxlaberge
No branches or pull requests
Pagination values are of type
int
and there is some validation done in ParseParams.Maybe the type should be
uint
and no validation should be done. ParseParams should just assign zero or whatever number is parsed from the URL.Let the user validate the numbers. Right now, a page size cannot be above 100 which is an arbitrary number that means nothing.
The text was updated successfully, but these errors were encountered: