Skip to content

Improvements#7

Merged
bufdev merged 2 commits intomainfrom
review-improvements
Feb 13, 2026
Merged

Improvements#7
bufdev merged 2 commits intomainfrom
review-improvements

Conversation

@bufdev
Copy link
Member

@bufdev bufdev commented Feb 13, 2026

Some improvements from my own interactions.

@bufdev bufdev requested a review from rodaine February 13, 2026 17:44
Comment on lines 585 to 589
string key = 1 [
(buf.validate.field).required = true,
(buf.validate.field).string.max_len = 256
];
string value = 2 [(buf.validate.field).string.max_len = 8192];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we removed these from protovalidate (relative to protoc-gen-validate) but there should already be rules for valid HTTP headers.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For token efficiency, we want these reference files to be < 500 lines. The complete examples might be better assets/ and referenced from here.

@bufdev bufdev merged commit 7f0cee5 into main Feb 13, 2026
3 checks passed
@bufdev bufdev deleted the review-improvements branch February 13, 2026 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants