bufbuild / protovalidate-go

Protocol Buffer Validation for Go
https://pkg.go.dev/github.com/bufbuild/protovalidate-go
Apache License 2.0
294 stars 19 forks source link

Un-typedef errors.ValidationError to buf.validate.Violations #52

Open bufdev opened 1 year ago

bufdev commented 1 year ago

We're looking to delete buf.validate.Violations in https://github.com/bufbuild/protovalidate/issues/96, and it would also be nice for the Golang API to not hard-depend on a specific version of the Protobuf API. To do so, we can make errors.ValidationError its own type not dependent on the generated Protobuf struct, similar to CompilationError and RuntimeError.