Skip to content

Conversation

@alanschnegg
Copy link
Contributor

This update addresses a client requirement where the current folder fetch limit of 50 elements is insufficient due to their large number of folders. The changes include:

  • Adding the pagination system like the others entities

This enhancement improves usability for clients with extensive folder structures, enabling them to efficiently access and manage their data.

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.

@alanschnegg
Copy link
Contributor Author

Saw that after but this PR is related to #254 that have the exact same problem as me

@AaronDDM
Copy link
Collaborator

Thanks for the PR @alanschnegg - I just added the select field support and included a changelog line.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.28%. Comparing base (4be4cad) to head (c0939e8).

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #259   +/-   ##
=========================================
  Coverage     81.28%   81.28%           
  Complexity      316      316           
=========================================
  Files            35       35           
  Lines           967      967           
  Branches         88       88           
=========================================
  Hits            786      786           
  Misses          129      129           
  Partials         52       52           

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

@AaronDDM AaronDDM merged commit 1aba5c8 into nylas:main Jan 17, 2025
2 of 3 checks passed
@AaronDDM AaronDDM mentioned this pull request Jan 24, 2025
AaronDDM added a commit that referenced this pull request Jan 24, 2025
# Changelog
* Made `NylasClient` and its methods open to enable mocking in tests
(#258).
* Added pagination support for folders
(#259).
* Fixed issue where reminders were not being updated correctly when
updating an event (#261).

# License
<!-- Your PR comment must contain the following line for us to merge the
PR. -->
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.
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.

4 participants