Skip to content

[Bug] json-rpc server doesn't support named parameter #704

@Davidson-Souza

Description

@Davidson-Souza

Describe the bug

One of the main differences for json-rpc V2 is named parameter. You can send a json object rather than an array, something like:

{
  "jsonrpc": "2.0",
  "method": "subtract",
  "params": {"minuend": 42, "subtrahend": 23},
  "id": 1
}

our current code will reject this since it expects positional parameters

Metadata

Metadata

Assignees

Labels

reliabilityRelated to runtime reliability, stability and production readiness

Type

Projects

Status

In progress

Relationships

None yet

Development

No branches or pull requests

Issue actions