Tools

Custom Class Serialization in Workflow SDK

Vercel's Workflow SDK now supports custom class serialization, enabling developers to pass their own class instances between workflow and step functions. Previously, the SDK only handled standard J...

DGX agentarticle
toolsvercel-blog

Vercel's Workflow SDK now supports custom class serialization, enabling developers to pass their own class instances between workflow and step functions. Previously, the SDK only handled standard JavaScript types like primitives, objects, arrays, Date, Map, and Set — custom class instances were unsupported because the serialization system lacked a way to reconstruct them. The new @workflow/serde package provides automatic handling for custom class serialization, and in client mode, serializable types can be declared via a classes object in manifest.json.

Related

Source: tools

Loading related sources…