mwitkow / go-proto-validators

Generate message validators from .proto annotations.
Apache License 2.0
1.08k stars 164 forks source link

Mask sensitive fields #104

Closed tomasz-nastaly closed 3 years ago

tomasz-nastaly commented 3 years ago

I think it will be useful to be able to mark fields (e.g. passwords, credit cards) as sensitive, so their values don't appear in error messages. We can for sure handle it on library's user side, but that would be a nice enhancement, I think.