Skip to content

fix(parent): support block_id page parents#72

Merged
brd6 merged 1 commit into
mainfrom
fix/block-id-parent
May 10, 2026
Merged

fix(parent): support block_id page parents#72
brd6 merged 1 commit into
mainfrom
fix/block-id-parent

Conversation

@brd6
Copy link
Copy Markdown
Owner

@brd6 brd6 commented May 10, 2026

Description

Adds support for Notion page parents with type: "block_id".

Motivation and context

Notion can return pages whose parent is a block. The SDK previously threw UnsupportedParentTypeException while hydrating those pages.

How has this been tested?

Unit tests and new fixture.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

PR checklist

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING.md document.
  • I have added tests to cover my changes.

@brd6 brd6 marked this pull request as ready for review May 10, 2026 18:32
@brd6 brd6 force-pushed the fix/block-id-parent branch from 0fe048c to c99a9fa Compare May 10, 2026 18:42
@brd6 brd6 merged commit ecb6abe into main May 10, 2026
21 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.

1 participant