Skip to content

Commit

Permalink
Fix field numbers for v1 ListLabelHistoryRequest (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksnyder authored Mar 6, 2024
1 parent 143da1a commit 591d6dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions buf/registry/module/v1/label_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,11 @@ message ListLabelHistoryRequest {
// Only return Commits that have one of these CommitCheckStatus values for this label.
//
// If not set, Commits with any CommitCheckStatus value are returned.
repeated CommitCheckStatus commit_check_statuses = 6 [(buf.validate.field).repeated.items.enum.defined_only = true];
repeated CommitCheckStatus commit_check_statuses = 5 [(buf.validate.field).repeated.items.enum.defined_only = true];
// 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 [
string start_commit_id = 6 [

Check failure on line 166 in buf/registry/module/v1/label_service.proto

View workflow job for this annotation

GitHub Actions / breaking

Field "6" with name "start_commit_id" on message "ListLabelHistoryRequest" changed option "json_name" from "commitCheckStatuses" to "startCommitId".

Check failure on line 166 in buf/registry/module/v1/label_service.proto

View workflow job for this annotation

GitHub Actions / breaking

Field "6" on message "ListLabelHistoryRequest" changed label from "repeated" to "optional".

Check failure on line 166 in buf/registry/module/v1/label_service.proto

View workflow job for this annotation

GitHub Actions / breaking

Field "6" on message "ListLabelHistoryRequest" changed type from "enum" to "string". See https://developers.google.com/protocol-buffers/docs/proto3#updating for wire compatibility rules and https://developers.google.com/protocol-buffers/docs/proto3#json for JSON compatibility rules.

Check failure on line 166 in buf/registry/module/v1/label_service.proto

View workflow job for this annotation

GitHub Actions / breaking

Field "6" on message "ListLabelHistoryRequest" changed name from "commit_check_statuses" to "start_commit_id".
(buf.validate.field).string.uuid = true,
(buf.validate.field).ignore = IGNORE_IF_UNPOPULATED
];
Expand Down

0 comments on commit 591d6dd

Please sign in to comment.