Skip to content

Conversation

@doriable
Copy link
Member

@doriable doriable commented Jan 5, 2026

For better clarity, rather than recommending using const when
min/max length rules are set as the same, we should recommend
the use of the single length field instead.

Fixes #4252

@github-actions
Copy link
Contributor

github-actions bot commented Jan 5, 2026

The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedJan 5, 2026, 1:29 PM

@doriable doriable merged commit 5fb6a08 into main Jan 5, 2026
12 checks passed
@doriable doriable deleted the 4252-use-len-rule-field-name-rather-than-const branch January 5, 2026 17:51
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.

Incorrect recommendation to use (buf.validate.field).string.const

5 participants