Skip to content

Commit

Permalink
use ignore_empty
Browse files Browse the repository at this point in the history
  • Loading branch information
unmultimedio committed Feb 26, 2024
1 parent c559234 commit 5539d83
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ message UploadRequest {
string source_control_url = 6 [
(buf.validate.field).string.uri = true,
(buf.validate.field).string.max_len = 255,
(buf.validate.field).ignore = IGNORE_IF_UNPOPULATED
(buf.validate.field).ignore_empty = true
];
}
// The Contents of all references.
Expand Down
2 changes: 1 addition & 1 deletion buf/registry/module/v1beta1/commit.proto
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@ message Commit {
string source_control_url = 7 [
(buf.validate.field).string.uri = true,
(buf.validate.field).string.max_len = 255,
(buf.validate.field).ignore = IGNORE_IF_UNPOPULATED
(buf.validate.field).ignore_empty = true
];
}
2 changes: 1 addition & 1 deletion buf/registry/module/v1beta1/module.proto
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ message Module {
string url = 9 [
(buf.validate.field).string.uri = true,
(buf.validate.field).string.max_len = 255,
(buf.validate.field).ignore = IGNORE_IF_UNPOPULATED
(buf.validate.field).ignore_empty = true
];
// The name of the default Label of the Module.
//
Expand Down
2 changes: 1 addition & 1 deletion buf/registry/module/v1beta1/module_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ message CreateModulesRequest {
string url = 5 [
(buf.validate.field).string.uri = true,
(buf.validate.field).string.max_len = 255,
(buf.validate.field).ignore = IGNORE_IF_UNPOPULATED
(buf.validate.field).ignore_empty = true
];
// The name of the default Label of the Module.
//
Expand Down
2 changes: 1 addition & 1 deletion buf/registry/module/v1beta1/upload_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ message UploadRequest {
string source_control_url = 6 [
(buf.validate.field).string.uri = true,
(buf.validate.field).string.max_len = 255,
(buf.validate.field).ignore = IGNORE_IF_UNPOPULATED
(buf.validate.field).ignore_empty = true
];
}
// The Contents of all references.
Expand Down
2 changes: 1 addition & 1 deletion buf/registry/owner/v1beta1/organization.proto
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ message Organization {
string url = 6 [
(buf.validate.field).string.uri = true,
(buf.validate.field).string.max_len = 255,
(buf.validate.field).ignore = IGNORE_IF_UNPOPULATED
(buf.validate.field).ignore_empty = true
];
// The verification status of the Organization.
OrganizationVerificationStatus verification_status = 7 [
Expand Down
2 changes: 1 addition & 1 deletion buf/registry/owner/v1beta1/organization_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ message CreateOrganizationsRequest {
string url = 3 [
(buf.validate.field).string.uri = true,
(buf.validate.field).string.max_len = 255,
(buf.validate.field).ignore = IGNORE_IF_UNPOPULATED
(buf.validate.field).ignore_empty = true
];
// The verification status of the Organization.
//
Expand Down
2 changes: 1 addition & 1 deletion buf/registry/owner/v1beta1/user.proto
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ message User {
string url = 8 [
(buf.validate.field).string.uri = true,
(buf.validate.field).string.max_len = 255,
(buf.validate.field).ignore = IGNORE_IF_UNPOPULATED
(buf.validate.field).ignore_empty = true
];
// The verification status of the User.
UserVerificationStatus verification_status = 9 [
Expand Down
2 changes: 1 addition & 1 deletion buf/registry/owner/v1beta1/user_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ message CreateUsersRequest {
string url = 4 [
(buf.validate.field).string.uri = true,
(buf.validate.field).string.max_len = 255,
(buf.validate.field).ignore = IGNORE_IF_UNPOPULATED
(buf.validate.field).ignore_empty = true
];
// The verification status of the User.
//
Expand Down

0 comments on commit 5539d83

Please sign in to comment.