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

Adding validation of the count of parameters in JSON RPC #3462

Closed

Conversation

chenzhitong
Copy link
Member

@chenzhitong chenzhitong commented Aug 19, 2024

Validation the count of parameters in JSON RPC, output an error message in case of wrong count of parameters.

before

image
image

after
image
image

With this modification, in most cases it doesn't matter if you don't remember the parameters, and you don't have to dig through the documentation.

@chenzhitong chenzhitong marked this pull request as ready for review August 19, 2024 08:58
@chenzhitong
Copy link
Member Author

Oops, it conflicts with this PR, I'll close it

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 this pull request may close these issues.

1 participant