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

99designs / gqlgen / 20899058999
0%

Build:
DEFAULT BRANCH: master
Ran 11 Jan 2026 05:29PM 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

11 Jan 2026 05:26PM UTC coverage: 0.0%. Remained the same
20899058999

push

github

web-flow
Support directives in comments (#3984)

[Issue #3983](https://github.com/99designs/gqlgen/issues/3983): Support directives in comments

When regenerating resolvers, currently all the comments in directives disappear, including  `//nolint`.

This PR fixes the problem by replacing the `go/ast` usage of  [CommentGroup.Text()](https://pkg.go.dev/go/ast#CommentGroup.Text) which disregards all comments in directives, and replacing it with `Comment.List` to get and preserve the actual comments.

[Line of code that I'm talking about ](https://github.com/99designs/gqlgen/blob/master/internal/rewrite/rewriter.go#L105)

I have:
 - [x] Added tests covering the bug / feature (see [testing](https://github.com/99designs/gqlgen/blob/master/TESTING.md))
 - [x] Updated any relevant documentation (see [docs](https://github.com/99designs/gqlgen/tree/master/docs/content))


---------

Co-authored-by: Steve Coffman <StevenACoffman@users.noreply.github.com>

0 of 0 relevant lines covered (NaN%)

0.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 20899058999.1 11 Jan 2026 05:29PM UTC 0
0.0
GitHub Action Run
Source Files on build 20899058999
Detailed source file information is not available for this build.
  • Back to Repo
  • 6676c05a on github
  • Prev Build on master (#20885290274)
  • Next Build on master (#20905068157)
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