Skip to content

Check the optional-record path test's cast at the cast - #1592

Merged
ctate merged 1 commit into
mainfrom
ctate/check-optional-record-492cb4
Oct 21, 2026
Merged

ctate merged 1 commit into
mainfrom
ctate/check-optional-record-492cb4

Conversation

@ctate

@ctate ctate commented Oct 21, 2026

Copy link
Copy Markdown
Collaborator

The test from #1548 casts JSON.parse to Partial<Envelope> into a
block-local const, which continues as its parsed value since #1561, as
in Node. The path messages are now pinned with the cast passed to a
typed parameter, which is checked at the cast, and the block-local form
is pinned against Node.
@vercel

vercel Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
scriptc Ready Ready Preview, v0 Oct 21, 2026 12:25am UTC

@ctate
ctate merged commit 121a3ed into main Oct 21, 2026
62 of 64 checks passed
@ctate
ctate deleted the ctate/check-optional-record-492cb4 branch October 21, 2026 00:29
euxaristia pushed a commit to euxaristia/scriptc that referenced this pull request Oct 21, 2026

This branch was successfully deployed

1 active deployment
Preview — 2230ffbb Deployed Oct 21, 2026 by vercel[bot]
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