Skip to content

Conversation

@ytoml
Copy link

@ytoml ytoml commented Feb 11, 2023

Hi ! I found bug when using NotionApi::get_block_children.

As the document says, children API does not return nested children. Thus, it's possible that returned json doesn't have children key for column_list, column, etc. like this:
スクリーンショット 2023-02-12 5 41 39

I just added Option to the type definition of children for each struct.

@ytoml ytoml changed the title Make all children fields Option BugFix: Make all children fields Option Feb 12, 2023
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