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

99designs / gqlgen / 28308536034
0%

Build:
DEFAULT BRANCH: master
Ran 28 Jun 2026 02:16AM UTC
Jobs 1
Files 0
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

28 Jun 2026 02:12AM UTC coverage: 0.0%. Remained the same
28308536034

push

github

web-flow
fix(federation): disambiguate colliding key-field Go names in multi-resolvers (#4241)

* fix(federation): disambiguate colliding key-field Go names in multi resolvers

A multi-mode entity resolver's synthetic input type derived each field name
from Field.ToGo() with no de-duplication. When two key paths in one @key
reduced to the same Go name — e.g. @key(fields: "id i { d }"), where both
"id" and "i { d }" yield "ID" — the generated input type emitted a duplicate
field and failed schema validation with an opaque "can only be defined once"
error.

Each key field now gets a name unique within its resolver (ID, ID2, ...),
computed once in KeyField.GoName and read by the SDL builder and the template
struct literal, so the SDL field, the modelgen struct field, and the template
key stay in agreement (the suffixed names are idempotent under ToGo). The
change is a no-op when there is no collision; existing fixtures regenerate
unchanged.

Adds testdata/keycollision plus unit, regression, and runtime tests.

* Apply suggestion from @StevenACoffman

* Apply suggestion from @StevenACoffman

0 of 0 relevant lines covered (NaN%)

0.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28308536034.1 28 Jun 2026 02:16AM UTC 0
0.0
GitHub Action Run
Source Files on build 28308536034
Detailed source file information is not available for this build.
  • Back to Repo
  • a910c873 on github
  • Prev Build on master (#28207753682)
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