You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JSON-RPC 2.0 allows the request params value to be a map (JSON object.) Supporting this option has not been critical to any of the existing use-cases for consensusj-jsonrpc but is something that should eventually be supported.
The first step in implementation might be to define a JsonRpcParams type and re-define JsonRpcRequest to use it rather than List<Object> or perhaps even define JsonRpcRequest<T extends JsonRpcParams>.
The text was updated successfully, but these errors were encountered:
msgilligan
changed the title
JsonRpcRequest: support params as maps
JsonRpcRequest: support params as maps (JSON-RPC 2.0 feature)
Apr 12, 2023
JSON-RPC 2.0 allows the request
params
value to be a map (JSON object.) Supporting this option has not been critical to any of the existing use-cases forconsensusj-jsonrpc
but is something that should eventually be supported.The first step in implementation might be to define a
JsonRpcParams
type and re-defineJsonRpcRequest
to use it rather thanList<Object>
or perhaps even defineJsonRpcRequest<T extends JsonRpcParams>
.The text was updated successfully, but these errors were encountered: