Some strings were failing to be parsed by the previous RegEx based validation. This now uses the Go base32 module (part of the standard library) to more reliably decode the field.
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.
coverage: 74.3% (+0.009%) from 74.291%
when pulling 14dc59551c424e2046da88f29db79ce88519fec7 on jamesatkin-myndup:master
into a947377040f8ebaee09f20d09a745ec369396793 on go-playground:master.
coverage: 74.297% (+0.006%) from 74.291%
when pulling c17835f6d05e54d845e3c0803a7c74be18a2ca41 on jamesatkin-myndup:master
into a947377040f8ebaee09f20d09a745ec369396793 on go-playground:master.
Fixes Or Enhances
Some strings were failing to be parsed by the previous RegEx based validation. This now uses the Go
base32
module (part of the standard library) to more reliably decode the field.Make sure that you've checked the boxes below before you submit PR:
@go-playground/validator-maintainers