dentaku icon indicating copy to clipboard operation
dentaku copied to clipboard

Unclear effect of `add_function` type parameter

Open kapcod opened this issue 1 year ago • 0 comments

In all the add_function examples you pass :numeric type, but there's no clear explanation why this type needed and how it affects the functionality. I experimented with this and couldn't see any effect it does. There's no type casting in case I wrote :numeric but function receives or returns string. I could even pass some garbage as type and it still worked exactly the same. If this type is not needed, maybe you can drop it (or make optional for back-compatibility)? If it does anything, maybe add a few lines of documentation?

Thanks

kapcod avatar Feb 20 '24 08:02 kapcod