-
Notifications
You must be signed in to change notification settings - Fork 387
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.
This makes sense to me. We should definitely be able to make REST requests without passing a limit, since the API will just apply its default limit to the request. Thanks for catching that.
cc2173e
to
8c4a0b4
Compare
Thanks for review @thecodepixi |
Too many additional changes. Will re-review.
Taking another look at this now, and I'm not sure we can entirely do away with `PageInfo, but have asked for additional opinions on that front. |
I agree, it's a bit strange that it doesn't cause any tests to break, but we're definitely still using that type in the REST client class. |
@thecodepixi @paulomarg PageInfoParams was replaced by PageInfo in this commit 53b5e07 |
Ah OK, maybe that was my misunderstanding. You're proposing just removing |
Yes, only PageInfoParams |
Oh then yeah, if that's no longer needed I would think it's fine to remove. |
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.
I think this looks pretty great at this point! Would love an additional review from @paulomarg but I give this a 👍
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.
I like it too! 🚀
Should I do anything else to merge this pr? |
I gotchu! |
WHY are these changes introduced?
Fixes #134
WHAT is this pull request doing?
Added test to catch the described error. Made limit optional, because it has default value (50)
Type of change
Checklist