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

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

Build:
Build:
LAST BUILD BRANCH: master
DEFAULT BRANCH: v8
Ran 18 Dec 2025 12:12AM UTC
Jobs 1
Files 34
Run time 1min
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

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

18 of 18 new or added lines in 1 file covered. (100.0%)

14415 of 19536 relevant lines covered (73.79%)

80.62 hits per line

Jobs
ID Job ID Ran Files Coverage
1 20321384652.1 18 Dec 2025 12:12AM UTC 34
73.79
GitHub Action Run
Source Files on build 20321384652
  • Tree
  • List 34
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1507
  • PR Base - master (#20287228494)
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