validator icon indicating copy to clipboard operation
validator copied to clipboard

Fix validation omitempty for empty String pointer

Open nodivbyzero opened this issue 2 years ago • 1 comments

Fixes Or Enhances

Do not make an interface check if a field is a String pointer.

Connected to #1129

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

  • [x] Tests exist or have been written that cover this particular change.

@go-playground/validator-maintainers

nodivbyzero avatar Sep 23 '23 01:09 nodivbyzero

Coverage Status

coverage: 73.857% (+0.008%) from 73.849% when pulling 4e7ca2877f94c5d18663a150d9e0cc6b1e5b9622 on nodivbyzero:fix-omitempty-str-ptr into 8d50f2fd8c2f02fbdf1d44d66171b955c2f4eb50 on go-playground:master.

coveralls avatar Sep 23 '23 01:09 coveralls