github go-playground/validator v9.9.1
Release 9.9.1

latest releases: v10.23.0, v10.22.1, v10.22.0...
6 years ago

What was fixed?

There was an issue checking for the end of an or validation block and when 2 consecutive or validation blocks existed, it would not return an error or return an incorrect error.

NOTE: This bug only affected validation with consecutive or validation blocks eg.

validate:"tag1|tag2=,tag3|tag4"

block1 = tag1|tag2=
block2 = tag3|tag4

Thanks for reporting the issue @skryja, see #329 for more details

Don't miss a new validator release

NewReleases is sending notifications on new releases.