-
Notifications
You must be signed in to change notification settings - Fork 151
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
feat: Add support for function input/output encoding/decoding #227
feat: Add support for function input/output encoding/decoding #227
Conversation
discussing this approach internally and will loop back |
As I dig in a bit more, to grok all of |
|
The problem with doing this is that |
Ok. I'm on the right track then. However, at a higher level, I can still envision the need for something like |
implementing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, will touch up this PR in a follow-up. (#243)
Motivation
Added support for Function input encoding and output decoding. This is in reference to issue #210
Solution
Added trait
FunctionExt
that defines 2 methods:encode_input(...)
anddecode_output(...)
and an implementation of the trait forjson_abi::Function
. Currently this resides inresolve.rs
.PR Checklist