Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion apis/workflows/v1/core.proto
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,8 @@ message TaskSubmissionGroup {
option (buf.validate.message).cel = {
id: "task_submission_group.optional_size_match"
message: "The number of optional values must match the number of inputs."
expression: "this.inputs.size() == this.optional_values.size()"
// we allow an empty list as well, in which case we default to all false, important for backwards compatibility
expression: "this.optional_values.size() == 0 || this.inputs.size() == this.optional_values.size()"
};

// The indices of the groups that this submission group depends on. Indices refer to the groups field of the
Expand Down