Closed therustmonk closed 1 year ago
Uses fields in TaskDelta instead of tuple-like types.
TaskDelta
Tuple variants are serialized as arrays (serde behavior):
{"TaskDelta":["Base Node",{"UpdateStatus":{data}}]}
But access by keys is preferred for the UI:
{"TaskDelta":{"id: "Base Node", "delta: {"UpdateStatus":{data}}}}
Manually
ACK
Description
Uses fields in
TaskDelta
instead of tuple-like types.Motivation and Context
Tuple variants are serialized as arrays (serde behavior):
{"TaskDelta":["Base Node",{"UpdateStatus":{data}}]}
But access by keys is preferred for the UI:
{"TaskDelta":{"id: "Base Node", "delta: {"UpdateStatus":{data}}}}
How Has This Been Tested?
Manually