Skip to content

protobuf: Switch to protovalidate#140

Open
phlax wants to merge 1 commit intocncf:mainfrom
phlax:protovalidate
Open

protobuf: Switch to protovalidate#140
phlax wants to merge 1 commit intocncf:mainfrom
phlax:protovalidate

Conversation

@phlax
Copy link
Member

@phlax phlax commented Feb 24, 2026

  • switch protoc-gen-validate to protovalidate
  • update build system to use cc_proto_library

pgv is effectively deprecated and has very poor compatibility with bzlmod - so is no longer an option for Envoy

this upstreams a pending patch

"@org_golang_google_protobuf//types/known/timestamppb:go_default_library",
"@org_golang_google_protobuf//types/known/wrapperspb:go_default_library",
"@protovalidate_go_gen//buf/validate",
]).to_list(),
Copy link
Member Author

Choose a reason for hiding this comment

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

as an aside - this use of to_list looks very suspicious

@phlax phlax force-pushed the protovalidate branch 7 times, most recently from 13c3fa7 to 2611c37 Compare February 24, 2026 13:37
Signed-off-by: Ryan Northey <ryan@synca.io>
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.

1 participant