go-playground / validator

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

fix edge case #1163

Closed deankarn closed 10 months ago

deankarn commented 10 months ago

Fixes Or Enhances

Fixes #1162 by not skipping the required for non nested structs accidentally introduced in last release.

coveralls commented 10 months ago

Coverage Status

coverage: 73.849%. remained the same when pulling 8e4192b171a11445c5648ea36b29de8568b0e31a on time-required-edge-case into d57b3a8dd18f4adc9cd8abb529762826357188a3 on master.