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

Teamwork / kommentaar / 26027442095
54%
master: 54%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.3.1
DEFAULT BRANCH: master
Ran 18 May 2026 10:18AM UTC
Jobs 1
Files 10
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 May 2026 10:17AM UTC coverage: 53.695% (+0.3%) from 53.429%
26027442095

push

github

chrisjtwomey
Honor json:"-" on embedded fields during initial field walk

The first field-walk pass in GetReference resolved embedded types before
checking their struct tag, so an embed marked `json:"-"` was still pulled
into the type graph even though it would be omitted from the schema. With
a qualified pointer embed (e.g. `*pkg.Type` `json:"-"`) the inner type
assertion to `*ast.Ident` also fails silently, passing nil to resolveType
and panicking on `typ.Obj`.

The nested-walk loop further down already skips `json:"-"`; apply the
same check in the first pass so the embed is never resolved and the
schema-side filter remains the single source of truth for tag handling.

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

1199 of 2233 relevant lines covered (53.69%)

44.57 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26027442095.1 18 May 2026 10:18AM UTC 10
53.69
GitHub Action Run
Source Files on build 26027442095
  • Tree
  • List 10
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 0f7f262c on github
  • Prev Build on master (#25854156773)
  • Next Build on fix-embed-json-dash (#26028825186)
  • Delete
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