Skip to content

Incorrect Type: TableBlock.TableInfo.Children should be IEnumerable #347

@jamescarter-le

Description

@jamescarter-le

When creating a Page with a Table, you cannot send the request, as the Notion API requires Table to have Children, at minimum an empty array, however TableInfo type has Children as TableRowBlock instead of IEnumerable<TableRowBlock>

body failed validation: body.children[2].table.children should be an array, instead was {"type":"table_row","object":"block","created_time":"00...

Solution: Modify Notion.Client.TableBlock.TableInfo.Children to be IEnumerable<TableRowBlock>

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions