Skip to content

.NET: [Bug]: serialization related bugs/inconsistency in implementation or documentation #8016

Description

@dsslight

Description

For the Declarative workflow documentation

Objects sent to workflow are converted to ChatMessage instances by using ToString(), which requires a workaround - serialization in toString() method as implementation.
The declarative workflow documentation says custom serializers are supported, but making them work requires a lot of experimentation and is deprioritized in my use case by problem #7977
(that tool calls do not work as expected, so no major need for that as I can handle it in the code).
So would be great to have proper and tested samples how to turn serialization on smoothly and reliably.

Code Sample

Error Messages / Stack Traces

Package Versions

Microsoft.Agents.AI.Workflows.Declarative

.NET Version

.NET 10.0.300

Additional Context

documentation related issue

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

.NETUsage: [Issues, PRs], Target: .Net

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions