Skip to content

docs(schema): SessionInfo.additionalDirectories doesn't allow null - #2638

Merged
benbrandt merged 1 commit into
mainfrom
docs/session-info-dirs-null
Oct 29, 2026
Merged

benbrandt merged 1 commit into
mainfrom
docs/session-info-dirs-null

Conversation

@benbrandt

Copy link
Copy Markdown
Member

SessionInfo.additionalDirectories said "Omitted, null, and empty values are equivalent", but the generated schema types it as a plain array, so null fails strict validation. The SDK's lenient null handling had leaked into the spec. The Rust/schema doc and v2 session-list (stable and draft) now say "Omitted and empty values are equivalent", matching the other lists. v2 only.

@benbrandt
benbrandt requested a review from a team as a code owner October 29, 2026 20:49
@benbrandt
benbrandt enabled auto-merge (squash) October 29, 2026 20:52
@benbrandt
benbrandt merged commit 468a71a into main Oct 29, 2026
14 checks passed
@benbrandt
benbrandt deleted the docs/session-info-dirs-null branch October 29, 2026 20:54
@acp-release-bot acp-release-bot Bot mentioned this pull request Oct 29, 2026
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