Skip to content

[JsonGen] Add extract keyword for struct parameters#238

Merged
sebaszm merged 1 commit intomasterfrom
development/jsongen-extract-for-pods
Feb 23, 2026
Merged

[JsonGen] Add extract keyword for struct parameters#238
sebaszm merged 1 commit intomasterfrom
development/jsongen-extract-for-pods

Conversation

@sebaszm
Copy link
Copy Markdown
Contributor

@sebaszm sebaszm commented Feb 20, 2026

For JSON-RPC only: if a method parameter is a POD struct and tagged as (at)extract, its members will be spilled to method parameters and the object itself will be collapsed. The spilled parameters will merge with other method's parameters successfully as long as a name does not clash (the order will be retained). This tag is invalid for properties.

@github-actions
Copy link
Copy Markdown

LuaGenerator Results

View Results

Changes detected.

@github-actions
Copy link
Copy Markdown

ProxyStubGenerator Results

View Results

Changes detected.

@github-actions
Copy link
Copy Markdown

JsonGenerator Results

View Results

No changes detected.

@sebaszm sebaszm requested a review from MFransen69 February 20, 2026 14:46
@sebaszm sebaszm merged commit f7248bf into master Feb 23, 2026
113 checks passed
@sebaszm sebaszm deleted the development/jsongen-extract-for-pods branch February 23, 2026 11:22
@github-actions github-actions bot locked and limited conversation to collaborators Feb 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants