-
Notifications
You must be signed in to change notification settings - Fork 4
feat(sdk): Allow input and output serdes #194
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
Conversation
512522b to
f1938b7
Compare
Changes: - We allow input and output serdes on the decorator. This is particularly useful for chained invoke to ensure callees automatically have the correct serialization
f1938b7 to
e59accd
Compare
leandrodamascena
left a comment
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.
I think we can improve it by removing nonlocal variable.. If you don't like the idea of defining serdes=output_serdes or JsonSerDes(), because it's not clear - I think it is -, you can set variables like _input_serder = input_serders or JsonSerDes(), and then use those variables.
7fe59ad to
94e13d9
Compare
|
on hold, pending alignment with JS/TS. |
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.