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

Constraint per_page not editable #412

Closed
jjf21 opened this issue Mar 29, 2023 · 2 comments
Closed

Constraint per_page not editable #412

jjf21 opened this issue Mar 29, 2023 · 2 comments

Comments

@jjf21
Copy link

jjf21 commented Mar 29, 2023

Hi,
I saw that there is a per_page attribute (default to 100) on the collection constraint.
Currently it isn't possible to edit this Constraint object (so neither the per_page attribute)

Would it be possible to add a parameter for this attribute ?
Maybe add this parameter to the client Nylas::API#client and pass it to all endpoints ?

Thanks

@mrashed-dev
Copy link
Contributor

@jjf21 Thank you for opening this feature request! Can you expand a bit more on the purpose of changing/setting the per_page attribute? If you pass in a limit for a list call, we will use that for pagination otherwise it will default to 100 as that is the API default. Thanks!

@mrashed-dev
Copy link
Contributor

Closing this ticket for now. @jjf21 you are welcome to re-open this ticket if you want to add more details!

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

2 participants