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

sonatard / gqlgen / 37415252824
0%

Build:
DEFAULT BRANCH: master
Ran 06 Oct 2026 04:50AM 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

05 Oct 2026 04:53PM UTC coverage: 0.0%. Remained the same
37415252824

push

github

web-flow
graphql: report invalid nulls as a typed error (#4359)

A null reaching a position the schema forbids produced one of two
messages depending only on where it was noticed: "must not be null"
from resolveField, and "the requested element is null which the schema
does not allow" from the generated marshalers. Neither named the field,
the type that forbade the null, or the Go value behind it, leaving the
error path as the only clue.

Raise *graphql.InvalidNullError instead. It carries the field's schema
coordinate as the specification defines it, the declared type, the
response path, and a NullSource saying whether the nil came from a
resolver, a model method, a struct field, a marshaler, or MarkNonNull.
SchemaCoordinate() names the concrete type behind an interface, which
the path cannot. Recover it with errors.AsType, match any violation
with errors.Is against ErrInvalidNull, or read Attrs() for structured
logging.

The message text changes, so tests asserting the old strings need
updating; match the type or the sentinel instead, since the text is not
part of the API. Folding the HasFieldError guard into the runtime also
drops roughly 1200 lines from generated output.

0 of 0 relevant lines covered (NaN%)

0.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 37415252824.1 06 Oct 2026 04:50AM UTC 0
0.0
GitHub Action Run
Source Files on build 37415252824
Detailed source file information is not available for this build.
  • Back to Repo
  • 12292b2c on github
  • Prev Build on master (#37159891456)
  • Next Build on master (#38215296628)
  • 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