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

chore: change the type property of Date, Datespan, Time and Timespan to object #551

Merged
merged 2 commits into from
Apr 3, 2024

Conversation

hanut
Copy link
Contributor

@hanut hanut commented Mar 22, 2024

This PR updates the type property of the Date, Datespan, Time and Timespan types (the WhenTypes) to
object which is what is returned by the latest version (v3) of the Nylas api

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.

Closes #550

Copy link
Collaborator

@mrashed-dev mrashed-dev left a comment

Choose a reason for hiding this comment

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

Looks good but can you make the same change to the Datespan interface? As soon as it's done I'll approve and merge 👍🏼 Thanks for jumping on this!

@hanut
Copy link
Contributor Author

hanut commented Mar 27, 2024

Looks good but can you make the same change to the Datespan interface? As soon as it's done I'll approve and merge 👍🏼 Thanks for jumping on this!

Thanks for pointing that out !
Always happy to help 👍

@hanut hanut requested a review from mrashed-dev March 27, 2024 16:24
@mrashed-dev mrashed-dev merged commit 12e9595 into nylas:main Apr 3, 2024
@mrashed-dev mrashed-dev mentioned this pull request Apr 15, 2024
mrashed-dev added a commit that referenced this pull request Apr 15, 2024
# Changelog
* Add response type to `sendRsvp` (#556)
* Add support for adding custom headers to outgoing requests (#552)
* Add support for custom headers field for drafts and messages (#553)
* Add support for setting `include_grant_scopes` for auth url generation (#554)
* Rename incorrect `type` field in `When` models to `object` (#551)
* Fix inaccuracy in `ReminderOverride` model (#555)
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.

Type mismatch in Events - When DataType
2 participants