Skip to content

rpc: replace anonymous arguments with structured types#7552

Merged
creachadair merged 2 commits intomasterfrom
mjf/rpc-cleanup-4
Jan 11, 2022
Merged

rpc: replace anonymous arguments with structured types#7552
creachadair merged 2 commits intomasterfrom
mjf/rpc-cleanup-4

Conversation

@creachadair
Copy link

Instead of using anonymous maps, define tagged struct types for JSON argument
encoding. This allows us to have the encoding rules we want without tmjson.

This commit handles the "easy" cases. BroadcastEvidence is omitted here,
because it depends on the interface encoding rules from tmjson. I will address
that in a forthcoming change.

M. J. Fromberger added 2 commits January 11, 2022 05:55
Instead of using anonymous maps, define tagged struct types for JSON argument
encoding. This allows us to have the encoding rules we want without tmjson.

This commit handles the "easy" cases. BroadcastEvidence is omitted here,
because it depends on the interface encoding rules from tmjson. I will address
that in a forthcoming change.
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