You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Calendar PATCH schema rejects null needed to clear date/dateTime for in-place conversion #951
gws calendar events patch rejects JSON null during schema validation, so a PATCH can't clear start.date/end.date when converting an all-day event to a timed one (or dateTime going the other way).
error[validation]: Request body failed schema validation:
- end.date: Expected type 'string', found null
- start.date: Expected type 'string', found null
Without the null, the existing date is kept and the Calendar API rejects the request with Invalid start time.
Expected: null accepted for optional fields in PATCH bodies, since that is how the API clears them.
Workaround: events get, replace start/end, then events update (full PUT).
Activity
fix(executor): accept null for any field in request bodies