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.
Currently
params: null
in JSON will be deserialized intoParams::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 theparams
field is not present in case there is no parameters to pass.