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

Deserialization of params: null #642

Open
tomusdrw opened this issue Oct 7, 2021 · 0 comments
Open

Deserialization of params: null #642

tomusdrw opened this issue Oct 7, 2021 · 0 comments

Comments

@tomusdrw
Copy link
Contributor

tomusdrw commented Oct 7, 2021

Currently params: null in JSON will be deserialized into Params::None. I'm not entirely sure if this behavior is expected by the spec. If we want to be very strict, we could instead enforce that the params field is not present in case there is no parameters to pass.

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