Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JsonRpcClient Should omit empty/null params #286

Open
jwx11 opened this issue Feb 24, 2022 · 0 comments
Open

JsonRpcClient Should omit empty/null params #286

jwx11 opened this issue Feb 24, 2022 · 0 comments

Comments

@jwx11
Copy link

jwx11 commented Feb 24, 2022

From the JSON-RPC 2.0 Specs

params
A Structured value that holds the parameter values to be used during the invocation of the method. This member MAY be omitted.

The empty params added in JsonRpcClient.addNoneArguments() cause invalid params in some services.

can we have options to omit the empty params?

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

No branches or pull requests

1 participant