protovalidate-go icon indicating copy to clipboard operation
protovalidate-go copied to clipboard

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

Open bufdev opened this issue 2 years ago • 0 comments

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.

bufdev avatar Sep 26 '23 18:09 bufdev