Skip to content

webapi-test: an action declares its request statically (design D5) - #46

Merged
mageshb merged 1 commit into
masterfrom
request-defaults
Sep 8, 2026
Merged

mageshb merged 1 commit into
masterfrom
request-defaults

Conversation

@mageshb

@mageshb mageshb commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Design "Typed Bindings and Unset Fields", step 3 / 3b (zenbridge #2103). ApiAction gains requestDefaults — the request the action builds, declared with withRequest so a check pass can read what a script must supply before anything runs — and requestFills, the (part, field) pairs a filler supplies (fills, fillsPart, and through them classAt / classAtPart). An action that declares no request foresees no holes. fills now needs KnownSymbol name (every caller passes a literal). Merge without squash: zenbridge pins the head sha.

🤖 Generated with Claude Code

https://claude.ai/code/session_01CGPoFpp1qwGzBaiEUmmUW5

ApiAction gains requestDefaults — the request the action builds,
declared with withRequest so a check pass can read what a script must
supply before anything runs — and requestFills, the (part, field) pairs a
filler supplies (fills, fillsPart, and through them classAt /
classAtPart). An action that declares no request foresees no holes.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CGPoFpp1qwGzBaiEUmmUW5
@mageshb
mageshb merged commit 8869152 into master Sep 8, 2026
0 of 5 checks passed
@mageshb
mageshb deleted the request-defaults branch September 8, 2026 00:18
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