Heromodels - clarify encode/decode strategy #162
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Following up on the changes in
90d72e91c5.Summary:
Argsstruct which is used to instantiate the final data model struct before hitting the DBArgsform is different, clients must be updated (especially on the use ofintepochs versusstringdate/times)Argsformat but we get back the base data model formatExample:
Notice how we must provide
start_timeas a string, but we get back anintepoch.So I think we need to clarify the intended strategy here:
Args?The code has been reverted. I ran into issues with the way we were encoding/decoding the request and response. I attempted a workaround that also fixes the delete issue mentioned in issue #157, but it seems the code is still not working. I need to think about a better solution, so please track the mentioned issue for clearer updates on the progress.
Here's an update on the preferred approach:
Argsstruct andnewmethod@scottyeager, please verify the implementation