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

Teamwork / kommentaar / 26027442095 / 1
54%
master: 54%

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

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.

1199 of 2233 relevant lines covered (53.69%)

44.57 hits per line

Source Files on job 26027442095.1
  • Tree
  • List 10
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 26027442095
  • 0f7f262c on github
  • Prev Job for on fix-embed-json-dash (#25854156773.1)
  • Next Job for on fix-embed-json-dash (#26028825186.1)
  • 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