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

Feature request: named parameters for Request Objects #90

Closed
jm-clius opened this issue Nov 24, 2020 · 0 comments · Fixed by #179
Closed

Feature request: named parameters for Request Objects #90

jm-clius opened this issue Nov 24, 2020 · 0 comments · Fixed by #179

Comments

@jm-clius
Copy link
Contributor

Currently the router requires parameters for rpc calls to be specified as a JArray. This implies that params can only be provided "by-position". The JSON-RPC 2.0 spec also specifies providing parameters "by-name" in an Object.
This will be a useful feature in nim-json-rpc and improve readability of requests.

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 a pull request may close this issue.

1 participant