• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

go-playground / validator / 20321384652 / 1
74%
v8: 100%

Build:
Build:
LAST BUILD BRANCH: master
DEFAULT BRANCH: v8
Ran 18 Dec 2025 12:12AM UTC
Files 34
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Dec 2025 12:11AM UTC coverage: 73.787% (+0.04%) from 73.749%
20321384652.1

Pull #1507

github

shindonghwi
fix: resolve panic when using aliases with OR operator (#766)

When using RegisterAlias with OR operator (|), the validator panics with
"Undefined validation function" error. This happens because aliases are
only checked when parsing comma-separated tags, not when parsing OR-
separated values.

This fix adds alias lookup in the OR parsing logic. When an alias is
found within an OR expression, it is recursively parsed and properly
inserted into the validation chain.

Fixes #766
Pull Request #1507: fix: resolve panic when using aliases with OR operator

14415 of 19536 relevant lines covered (73.79%)

80.62 hits per line

Source Files on job 20321384652.1
  • Tree
  • List 34
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 20321384652
  • df02f70a on github
  • Prev Job for on fix/alias-with-or-operator-766 (#20287228494.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc