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

Update protovalidate dependency #3652

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

jchadwick-buf
Copy link
Member

This is a successor to #3610.

Changed:

  • Update protovalidate to latest revision.
  • Update example linting code to use WithFilter
  • Still retains the other changes (removing support for deprecated protovalidate options.)

This uses an unreleased version of protovalidate-go, which was suggested so we could try to finalize the filter API before cutting a release with it.

Open question remains: should we try to warn users if the legacy removed protovalidate options are present, somehow? I assume this could be checked by looking for unknown fields in the options.

(This should unbreak the errors that occur when trying to use buf with go tool, although we do not recommend using go tool.)

Copy link
Contributor

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

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedFeb 26, 2025, 9:04 PM

@jchadwick-buf
Copy link
Member Author

Seems like we are running into problems with the latest protobuf runtime.

@jchadwick-buf jchadwick-buf marked this pull request as draft February 26, 2025 21:17
@doriable
Copy link
Member

Seems like we are running into problems with the latest protobuf runtime.

This should be resolved on main, I'll keep an eye on this PR if there are more issues!

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