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

Require pagination parameters #363

Open
mike-marcacci opened this issue Nov 30, 2020 · 0 comments
Open

Require pagination parameters #363

mike-marcacci opened this issue Nov 30, 2020 · 0 comments

Comments

@mike-marcacci
Copy link
Member

Currently, AuthX follows the Relay Connection spec to support pagination, and supports unbounded requests when both first and last are omitted. Introducing a "default" limit is therefore a breaking change, as would be changing that default in the future.

I'd like to suggest requiring a value be present in either first or last. This is also a breaking change, but one that breaks things up front, as opposed to producing unexpected results some of the time. This also forces front-end and client developers to address pagination, instead of allowing it to be swept under a hope that the default is always sufficient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant