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

update SyncedBlockValue struct to handle original and synced form. #7

Merged
merged 2 commits into from
Oct 4, 2024

Conversation

Melvillian
Copy link
Contributor

According to Notion's Changelog, SyncedBlockValue's come in two forms:

https://developers.notion.com/page/changelog#synced_block-block-type

the reference form, where the synced_from object contains a block_id, was supported by notion-client prior to this commit. However the original SyncedBlockValue, where synced_from: null, was not. After this commit it will support it.

According to Notion's Changelog, SyncedBlockValue's come in two forms:

https://developers.notion.com/page/changelog#synced_block-block-type

the reference form, where the synced_from object conatins a block_id, was supported by notion-client prior to this commit.
However the original SyncedBlockValue, where synced_from: null, was not. After this commit it will support it.
@takassh
Copy link
Owner

takassh commented Sep 13, 2024

@Melvillian
Thank you! Could you fix conflicts?

@takassh takassh merged commit b2a401f into takassh:main Oct 4, 2024
2 checks passed
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.

2 participants