Skip to content

Conversation

@deankarn
Copy link
Contributor

This PR corrects checking of consecutive or blocks; the way it was checking for the end of an or validation block was incorrect.

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

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

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

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

Fixes #329

@go-playground/admins

@deankarn deankarn self-assigned this Dec 13, 2017
@deankarn deankarn merged commit b1f51f3 into v9 Dec 13, 2017
@deankarn deankarn deleted the fix-consequtive-ors branch February 9, 2020 17:33
fairyhunter13 added a commit to fairyhunter13/validator that referenced this pull request Jul 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants