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: transform anyEmail array into comma-delimited any_email parameter in threads list #618

Merged

Conversation

AaronDDM
Copy link
Collaborator

@AaronDDM AaronDDM commented Jan 17, 2025

Background

Fixes #615 - looks like we introduced a regression in #606.

I've reverted that PR because the proper way to pass an array of items for a single query param is to repeat the query param.

Instead, I've added an override/transformation for the threads.list method that converts the anyEmail query param to a comma-separated list. I avoided putting this in apiClient because in my opinion, that's too disconnected from the resource where these overrides should occur.

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.

@AaronDDM AaronDDM force-pushed the TW-3647-nylas-nodejs-fix-regression-in-google-event-search branch from 55b04e7 to 7f3964e Compare January 17, 2025 19:12
@AaronDDM AaronDDM merged commit 50be249 into main Jan 22, 2025
5 checks passed
@AaronDDM AaronDDM mentioned this pull request Jan 23, 2025
AaronDDM added a commit that referenced this pull request Jan 23, 2025
…a-delimited any_email parameter in threads list #618
AaronDDM added a commit that referenced this pull request Jan 23, 2025
* Updated changelog

* 7.7.3

* Updated change log to include fix: transform anyEmail array into comma-delimited any_email parameter in threads list #618
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.

7.7.1 breaks google event search
2 participants