Skip to content

fix(plugin): make open ask results type-safe - #267

Merged
qiankunli merged 1 commit into
mainfrom
worktree-ask-result-type
Aug 11, 2026
Merged

fix(plugin): make open ask results type-safe#267
qiankunli merged 1 commit into
mainfrom
worktree-ask-result-type

Conversation

@qiankunli

Copy link
Copy Markdown
Collaborator

Model closed-choice and free-text asks as a discriminated union so allowing
custom text widens the answered value to string. Enforce the same boundary at
runtime and cover it with type tests, docs, and a spec-case marker.

Model closed-choice and free-text asks as a discriminated union so allowing
custom text widens the answered value to string. Enforce the same boundary at
runtime and cover it with type tests, docs, and a spec-case marker.
@qiankunli
qiankunli merged commit 71707e6 into main Aug 11, 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.

2 participants