Validate first param is within an acceptable range
Created by: eseliger
- Forbids negative values as they cause DB errors
- Forbids large values, because API consumers should be using pagination to retrieve giant amounts of results. In the frontend, we always request 15 at a time, since on average screens, you wouldn't fit more anyways.
- Currently loosens the constraint for changesets, as we don't yet have a good solution to otherwise detect change in the frontend and update the changeset nodes as they're being processed.
This should help us prevent overloading the frontend instance (and perhaps other services, that we reach out N+1 times to).
Closes #13369