diff --git a/buf/registry/module/v1/label_service.proto b/buf/registry/module/v1/label_service.proto index fd9a1b5..a1f8681 100644 --- a/buf/registry/module/v1/label_service.proto +++ b/buf/registry/module/v1/label_service.proto @@ -163,7 +163,10 @@ message ListLabelHistoryRequest { // The Commit id to start from. // // It is an error to provide a Commit id that doesn't exist on the Label. - string start_commit_id = 7 [(buf.validate.field).string.uuid = true]; + string start_commit_id = 7 [ + (buf.validate.field).string.uuid = true, + (buf.validate.field).ignore = IGNORE_IF_UNPOPULATED + ]; } message ListLabelHistoryResponse { diff --git a/buf/registry/module/v1beta1/label_service.proto b/buf/registry/module/v1beta1/label_service.proto index ff30e36..2295ae9 100644 --- a/buf/registry/module/v1beta1/label_service.proto +++ b/buf/registry/module/v1beta1/label_service.proto @@ -171,7 +171,10 @@ message ListLabelHistoryRequest { // The Commit id to start from. // // It is an error to provide a Commit id that doesn't exist on the Label. - string start_commit_id = 7 [(buf.validate.field).string.uuid = true]; + string start_commit_id = 7 [ + (buf.validate.field).string.uuid = true, + (buf.validate.field).ignore = IGNORE_IF_UNPOPULATED + ]; } message ListLabelHistoryResponse {