ChatMessage & co. JSON serialization stability
#7372
|
Are there any guarantees around the JSON serialization stability of In MAF, the Cosmos But the DurableTask implementation on the other hand, go the extra mile to decouple its serialization from these core types: https://github.com/microsoft/agent-framework/tree/main/dotnet/src/Microsoft.Agents.AI.DurableTask/State#state-schema What is the recommendation for persisting these types? Apologies if this has been answered before. |
Replies: 1 comment 1 reply
|
We are certainly trying to avoid breaking serialization via changed format; doing so would be problematic for all the places like the one you cite, where serialized forms of the messages are persisted and need to be roundtrippable. |
We are certainly trying to avoid breaking serialization via changed format; doing so would be problematic for all the places like the one you cite, where serialized forms of the messages are persisted and need to be roundtrippable.