microsoft / vs-streamjsonrpc

The StreamJsonRpc library offers JSON-RPC 2.0 over any .NET Stream, WebSocket, or Pipe. With bonus support for request cancellation, client proxy generation, and more.
Other
730 stars 149 forks source link

Empty array sent instead of empty object when named arguments should be used #1030

Open AArnott opened 4 months ago

AArnott commented 4 months ago

We should add tests for sending requests with named arguments when the map of arguments is empty.

Originally posted by @prodigy in https://github.com/microsoft/vs-streamjsonrpc/discussions/1029#discussioncomment-9073068