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

Tighter request handling #1187

Open
mattias-p opened this issue Nov 7, 2024 · 0 comments
Open

Tighter request handling #1187

mattias-p opened this issue Nov 7, 2024 · 0 comments

Comments

@mattias-p
Copy link
Member

In the RPCAPI reference there is a "Request Handling" section that lists a number of quirks in how we interpret JSON-RPC requests. We should restrict the set of inputs so that users must supply a string when a string is expected, a boolean when a boolean is expected and a number when a number is expected.

I don't think we ever intended to implement these quirks. It's just something that happened along the way. Unfortunately, since we're promising these behaviors in our documentation, removing them will be a breaking change.

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