wampire
wampire copied to clipboard
Example endpoint does not handle argument types correctly
Running endpoint example and api_user example, the addition example is not able to parse it's arguments correctly.
Enter a command (or type "help")
add 10,10
Error: CallError { reason: InvalidArgument, args: Some([String("Expected integer, got 10")]), kwargs: None }
I'm seeing this too, but noticed that passing in negative numbers works. For example, add -1,-1
in the api_user example works for me. Not sure where positive integers are getting set to UnsignedInteger
.
Also unsure how to get an UnsignedInteger
out of ArgList
, although maybe that's a different issue.