-
Notifications
You must be signed in to change notification settings - Fork 36
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
Print encoding of workflow results #579
Conversation
// TODO: The below fails seemingly due to a marshalling bug in api-go. The conversion of the | ||
// returned raw payload in to JSON bytes is invalid json, and breaks the printing on this |
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'm going to take a look at fixing this in api-go
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.
NM, apparently this is already fixed, by temporalio/api-go#159
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.
We just need to update versions when possible
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.
👍 Upon server release we will upgrade
// TODO: The below fails seemingly due to a marshalling bug in api-go. The conversion of the | ||
// returned raw payload in to JSON bytes is invalid json, and breaks the printing on this |
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.
👍 Upon server release we will upgrade
DRAFT because it seems like tests are getting stuck but, nothing I changed should do that. Maybe just my machine.
What was changed
Print encoding of workflow results
Why?
To help the user understand what's going on in the event Result can't be decoded
Checklist
Closes [Feature Request] Add
ResultEncoding
when printing workflow results that cannot be converted to shorthand JSON #547How was this tested:
Added UT
Any docs updates needed?