-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: make NylasClient and its methods open for mocking (#258)
# Make NylasClient and its methods open for mocking This PR makes the NylasClient class and its methods open to enable mocking in tests, addressing issue #257. ## Changes - Added `open` modifier to NylasClient class - Made all resource accessor methods (messages, calendars, etc.) open - Made HTTP execution methods open for comprehensive mocking support ## Testing These changes are purely related to class and method modifiers to enable mocking. The changes do not affect runtime behavior and maintain all existing functionality. The modifications only impact compile-time characteristics to allow for better testing capabilities. ## Notes - This change is backward compatible - No runtime behavior changes - Enables better testing capabilities for SDK users Fixes #257 Link to Devin run: https://app.devin.ai/sessions/f6b8eb21945e4b84a4b26f39136760cd --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Aaron de Mello <[email protected]> Co-authored-by: Aaron de Mello <[email protected]>
- Loading branch information
1 parent
1aba5c8
commit 4bbef53
Showing
2 changed files
with
24 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters