mirror of
https://github.com/vercel/workflow.git
synced 2026-09-14 19:59:43 +08:00
b5296a7a32
This PR ensures that all classes with custom serialization are automatically included in all bundle contexts (step, workflow, client) to ensure proper serialization/deserialization when crossing execution boundaries: - Classes defined in any context can now be properly serialized when passing data between: - Client → Workflow (when starting workflows) - Workflow → Step (when calling steps) - Step → Workflow (when returning step results) - Workflow → Client (when returning workflow results) - The build system now automatically discovers all files containing serializable classes and includes them in each bundle, regardless of where the class is originally defined. - No manual configuration is required - cross-registration happens automatically during the build process.
Symbolic link
1 line
39 B
TypeScript
Symbolic link
1 line
39 B
TypeScript
../../example/workflows/serde-models.ts |