Raise error/warning when using unsupported pagination method #1132
Labels
ergonomics
Features that improve the usability of the package
priority/medium
Issue or PR with a consensus of medium priority
server
Issues pertaining to the example server implementation
Currently this package only supports offset-based pagination (
page_offset=10
), however, number-based pagination (page_number=2
) is allowed as a valid query parameter and does not return an error. A client that manually implements pagination (i.e. one that does not follownext
links) that does not notice this could end up in an infinite loop of requesting the first page.We should capture this parameter and raise an error if it used (or just implement number-based pagination).
The text was updated successfully, but these errors were encountered: