Skip to content

Pass JSON args to the RunRequest and Engine (DO NOT MERGE - this is just exploring an option) - #181

Draft
drauschenbach wants to merge 4 commits into
masterfrom
david/pass-json-value-through-run-request-and-engine
Draft

drauschenbach wants to merge 4 commits into
masterfrom
david/pass-json-value-through-run-request-and-engine

Conversation

@drauschenbach

@drauschenbach drauschenbach commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

This prevents callers from having to stringify their args, which may or may not be a JSON object or a plain String. serde_json::Value can convey both, and using what the host provides avoids downstream conversions.

If passing args as a JSON Value, it also becomes possible to pass empty args as serde_json::Value::Null, in case that reads better.

@drauschenbach drauschenbach changed the title Pass a JSON value to the RunRequest and Engine (DO NOT MERGE - this is just exploring an option) Pass JSON args to the RunRequest and Engine (DO NOT MERGE - this is just exploring an option) Oct 29, 2026

This branch has not been deployed

No deployments
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