Skip to content

format: add the Name context type and guard to the TS types#246

Merged
gnidan merged 1 commit into
mainfrom
architect-name-type
Jul 9, 2026
Merged

format: add the Name context type and guard to the TS types#246
gnidan merged 1 commit into
mainfrom
architect-name-type

Conversation

@gnidan

@gnidan gnidan commented Jul 4, 2026

Copy link
Copy Markdown
Member

The name context has had a schema and spec page, but the TypeScript types never mirrored it — there was no Context.Name interface or isName guard, and name was absent from the Context union and isContext. Add them (matching the other context guards), so a bare { name } context is recognized, plus schema-guard test coverage.

The `name` context has had a schema and spec page, but the TypeScript
types never mirrored it — there was no `Context.Name` interface or
`isName` guard, and `name` was absent from the `Context` union and
`isContext`. Add them, matching the other context guards, so a bare
`{ name }` context is recognized.
@github-actions

github-actions Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-07-09 23:20 UTC

@gnidan gnidan merged commit 44c3554 into main Jul 9, 2026
5 checks passed
@gnidan gnidan deleted the architect-name-type branch July 9, 2026 23:15
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