Skip to content

Conversation

joscha
Copy link
Collaborator

@joscha joscha commented Jul 15, 2025

When a user gets deleted from a Notion workspace, then page properties referencing such users (created_by, last_edited_by) have only a { object: 'user', id: <uuid> } partial user object.

I deliberately did not add the DeletedUserObject class to the UserObject union, as responses from the Notion user API for example never return partial user objects.

cc @stevieflyer

@joscha joscha changed the title Joscha/partial-user Fix: allow partial user objects for created_by and last_modified_by page properties Jul 15, 2025
@joscha joscha changed the title Fix: allow partial user objects for created_by and last_modified_by page properties Fix: allow partial user objects for created_by and last_edited_by page properties Jul 15, 2025
@joscha joscha merged commit cf99d90 into main Jul 15, 2025
8 checks passed
@joscha joscha deleted the joscha/partial-user branch July 15, 2025 13:35
@joscha joscha mentioned this pull request Sep 22, 2025
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.

1 participant