Ablity to handle extra parameters in the JSON-RPC method
midmohan opened this issue · 3 comments
midmohan commented
Currently when extra parameters are present inside the parameters, the library throws ,
"error":{"code":-32602,"message":"Invalid params","data":"Expecting 4 parameters, and received 5"},
It would be good to have the ability, to ignore the extra params and call the method with the supported params.
j-schuma commented
You can just define a method signature with 5 param and define a default for the optional one.