Calendar Typescript Schema$EventDateTime.date type missing null #1559
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
🚨
This issue needs some love.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
TypeScript
Using the Google Calendar API, the interface
Schema$EventDateTime
definesdate
without allowingnull
. However,start.date
must be set tonull
when usingcalendar_v3.events.patch()
to convert an all-day event to a time-limited event. The other option is to use thecalendar_v3.events.update()
method but this isn't an option for our implementation.Definition in code:
google-api-nodejs-client/src/apis/calendar/v3.ts
Line 1001 in c62efb1
googleapis
version: [email protected]Code example:
EDIT: Added code example
The text was updated successfully, but these errors were encountered: