Accept any json value in result and error (#14954)
Some users might throw JS values that aren't strings. <img width="3456" height="2160" alt="CleanShot 2025-10-07 at 17 48 36@2x" src="https://github.com/user-attachments/assets/b02f886c-1c8e-4186-954b-6d0e025a6fcf" /> Errors seen previously: <img width="1308" height="840" alt="image" src="https://github.com/user-attachments/assets/1d7e4947-8f6f-44fb-aefb-c7d105712204" />
This commit is contained in:
committed by
GitHub
parent
f037e92dfa
commit
e382730a39
@@ -3,7 +3,7 @@ import { workflowRunStepStatusSchema } from './workflow-run-step-status-schema';
|
||||
|
||||
export const workflowRunStateStepInfoSchema = z.object({
|
||||
result: z.any().optional(),
|
||||
error: z.string().optional(),
|
||||
error: z.any().optional(),
|
||||
status: workflowRunStepStatusSchema,
|
||||
get history() {
|
||||
return z
|
||||
|
||||
Reference in New Issue
Block a user