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

Allow to customise connections arguments #3733

Open
patrick91 opened this issue Dec 20, 2024 · 2 comments
Open

Allow to customise connections arguments #3733

patrick91 opened this issue Dec 20, 2024 · 2 comments

Comments

@patrick91
Copy link
Member

I might not know how to do this, but I think it would be nice if we could allow to remove/change the arguments for relay connections easily.

My current (maybe weird) usecase is that I want to return all items for a connection, so I don't need first, after, before, and last. But I can also see people not wanting before and last :)

@bellini666
Copy link
Member

My current (maybe weird) usecase is that I want to return all items for a connection, so I don't need first, after, before, and last. But I can also see people not wanting before and last :)

Could that be resolved by allowing to customize max results per connection, and handling None (or maybe -1) as "unlimited"? Then not passing any arguments to it would achieve the same

Or do you think it is interesting to have an option to not have the arguments at all?

@patrick91
Copy link
Member Author

Or do you think it is interesting to have an option to not have the arguments at all?

yes, I think we should allow to remove them (and/or change them) 😊

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

No branches or pull requests

3 participants
@bellini666 @patrick91 and others