Skip to content

Feat/page archived serialization fix#69

Merged
brd6 merged 3 commits into
mainfrom
feat/page-archived-serialization-fix
Mar 27, 2026
Merged

Feat/page archived serialization fix#69
brd6 merged 3 commits into
mainfrom
feat/page-archived-serialization-fix

Conversation

@brd6
Copy link
Copy Markdown
Owner

@brd6 brd6 commented Mar 27, 2026

Description

This PR fixes page creation payload serialization so archived is not sent by default, which resolves API validation failures on pages()->create()

Motivation and context

Fix #67

How has this been tested?

Added unit tests.

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 force-pushed the feat/page-archived-serialization-fix branch from 76d4d3a to 64faedb Compare March 27, 2026 15:11
@brd6 brd6 merged commit 7fa51ef into main Mar 27, 2026
21 checks passed
@brd6 brd6 deleted the feat/page-archived-serialization-fix branch March 27, 2026 17:06
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.

Page object serializes archived: false on create and update, causing Notion API validation error

1 participant