File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
packages/core/src/v3/schemas Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -311,7 +311,8 @@ export const TaskRunExecutionDeployment = z.object({
311311export type TaskRunExecutionDeployment = z . infer < typeof TaskRunExecutionDeployment > ;
312312
313313const StaticTaskRunExecutionShape = {
314- task : TaskRunExecutionTask ,
314+ // Passthrough needed for backwards compatibility
315+ task : TaskRunExecutionTask . passthrough ( ) ,
315316 queue : TaskRunExecutionQueue ,
316317 environment : TaskRunExecutionEnvironment ,
317318 organization : TaskRunExecutionOrganization ,
@@ -326,7 +327,8 @@ export const StaticTaskRunExecution = z.object(StaticTaskRunExecutionShape);
326327export type StaticTaskRunExecution = z . infer < typeof StaticTaskRunExecution > ;
327328
328329export const TaskRunExecution = z . object ( {
329- attempt : TaskRunExecutionAttempt ,
330+ // Passthrough needed for backwards compatibility
331+ attempt : TaskRunExecutionAttempt . passthrough ( ) ,
330332 run : TaskRun . and (
331333 z . object ( {
332334 traceContext : z . record ( z . unknown ( ) ) . optional ( ) ,
You can’t perform that action at this time.
0 commit comments