-
Notifications
You must be signed in to change notification settings - Fork 2
Add pagination params to devices list #247
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that the pagination object isnt exposed, so the sdk has to internally implement pagination a consumer cant/shouldnt implement, but i think providing these parameters should be allowed
yeah, I liked the idea of a separate Slight chance that if anyone is expecting |
Hmm I'd prefer to just have pagination be automatically implemented. Why would we ever make someone implement pagination? That said these parameters aren't strictly related to pagination so I think it's totally fine to allow them- but I would always automatically paginate for the user unless the page size was excessive (in which case I think we should throw a special error) |
Do you mean a helper paginator object that's returned as a result from list-like methods? Yeah, that makes sense. And yeah, these parameters are not going to get in the way of that. |
## [7.3.3](seamapi/javascript@v7.3.2...v7.3.3) (2023-07-22) ### Bug Fixes * Add pagination params to devices list ([#247](seamapi/javascript#247)) ([ef99e62](seamapi/javascript@ef99e62))
🎉 This PR is included in version 7.3.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
list-like methods should just always paginate for the full result set, otherwise |
No description provided.