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

Fix next_cursor field omitted for list responses #461

Merged

Conversation

mrashed-dev
Copy link
Collaborator

Description

This PR propagates the next_cursor field for all list methods. Previously, all list methods only returned a request_id and the data object, like a find response would.

License

I confirm that this contribution is made under the terms of the MIT license and that I have the authority necessary to make this contribution on behalf of its copyright owner.

Copy link

codecov bot commented Feb 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (dc9e9ff) 99.84% compared to head (5107ee3) 99.84%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #461   +/-   ##
=======================================
  Coverage   99.84%   99.84%           
=======================================
  Files          24       24           
  Lines         658      664    +6     
=======================================
+ Hits          657      663    +6     
  Misses          1        1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@kraju3 kraju3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added some comments around our UAS endpoints.

@mrashed-dev mrashed-dev merged commit eeb47e8 into main Feb 8, 2024
5 checks passed
@mrashed-dev mrashed-dev deleted the TW-2537-ruby-missing-next-cursor-field-for-list-methods branch February 8, 2024 15:43
@mrashed-dev mrashed-dev mentioned this pull request Feb 12, 2024
mrashed-dev added a commit that referenced this pull request Feb 12, 2024
# Changelog
* Fixed a bug during OAuth URL building (#462)
* Fixed a bug where the `next_cursor` field was omitted for list responses (#461)
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

Successfully merging this pull request may close these issues.

3 participants