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

Validate Req.Params is either an array or an object and not a primitive type #7

Open
soygul opened this issue Dec 25, 2015 · 0 comments

Comments

@soygul
Copy link
Member

soygul commented Dec 25, 2015

JSON RPC 2.0 specs dictate request parameters to be structured; either an array or key/value pairs. We need to have a validator function in a common place (jsonrpc/message.go) as it is both used by jsonrpc/client.go and jsonrpc/sender.go.

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