go-playground / validator

:100:Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving
MIT License
16.53k stars 1.31k forks source link

Include the field value in the error message #1056

Closed briskt closed 1 year ago

briskt commented 1 year ago

Enhances

Make sure that you've checked the boxes below before you submit PR:

@go-playground/validator-maintainers

coveralls commented 1 year ago

Coverage Status

Coverage: 74.182% (+0.0%) from 74.182% when pulling f6b7fac2bbd52c51509cb3f109aa2b8a0879a213 on Schparky:patch-1 into c7e0172e0fd176bdc521afb5186818a7db6b77ac on go-playground:master.

briskt commented 1 year ago

Decided against this since it may be a bad idea to include data in logs.