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

99designs / gqlgen / 23400707638
0%
master: 0%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/github.com/mattn/go-colorable-0.1.15
DEFAULT BRANCH: master
Ran 23 Mar 2026 01:28AM UTC
Jobs 1
Files 0
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

pending completion
23400707638

Pull #4086

github

syssam
feat: deduplicate Child field context switches and scalar fieldContext boilerplate

Reduces generated code by ~23% on large schemas with zero runtime
performance impact.

Two optimizations:

1. Shared childFields_* functions: Extract the Child switch into a shared
   function generated once per return type, instead of inlining the same
   switch in every fieldContext_* function.

2. newLeafFieldContext helper: Replace 11-line boilerplate for scalar field
   context functions with a 3-line helper call.

Tested on a production schema with 325 entities (~22,000 fieldContext
functions):
- Before: 2,308,013 lines
- After:  1,778,987 lines (-529,026 lines, -22.9%)

Closes #4085
Pull Request #4086: feat: deduplicate Child field context switches and scalar fieldContex…

0 of 0 relevant lines covered (NaN%)

0.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 23400707638.1 23 Mar 2026 01:28AM UTC 0
0.0
GitHub Action Run
Source Files on build 23400707638
Detailed source file information is not available for this build.
  • Back to Repo
  • Pull Request #4086
  • PR Base - master (#23191672097)
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