Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use ignore_empty #78

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
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
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
Loading