mwitkow/go-proto-validators

Feature Request: Custom validation functions

veqryn opened this issue · 0 comments

I would like to be able to write a function that returns true/false whether the given field passes validation or not.
Every single validation library I can think of supports this.

In order to get this to work with generated code, most likely the user will have to register the function with your package under a include a unique string name. That same name would be used in the proto file.