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

sonatard / gqlgen / 39380046207
0%
master: 0%

Build:
Build:
LAST BUILD BRANCH: exec-behavior-tests
DEFAULT BRANCH: master
Ran 20 Oct 2026 06:26AM 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

20 Oct 2026 06:22AM UTC coverage: 0.0%. Remained the same
39380046207

Pull #40

github

sonatard
Keep directive arguments from hiding the variables of the generated code

The generated code unmarshals the arguments of a directive into variables
in a closure beside the object it passes to the directive (obj, rawArgs,
asMap or it), the next resolver, its receiver, the packages it calls and
the literals it writes for absent arguments and booleans. Variables named
after the arguments hid any of those with the same name: the directive
received the value of the argument in place of the object, or the
generated code did not compile. Name them by position, arg0, arg1 and so
on, instead.

The functions in DirectiveRoot keep the names of the arguments for their
parameters, but one that repeats ctx, obj, next, the results res and err,
or an earlier parameter, gets the suffix Arg, since a repeated name did
not compile either.
Pull Request #40: ディレクティブの引数が生成コードの変数を隠さないようにする

0 of 0 relevant lines covered (NaN%)

0.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39380046207.1 20 Oct 2026 06:26AM UTC 0
0.0
GitHub Action Run
Source Files on build 39380046207
Detailed source file information is not available for this build.
  • Back to Repo
  • Pull Request #40
  • PR Base - master (#39370742840)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc