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

99designs / gqlgen / 17461076910

04 Sep 2025 10:31AM UTC coverage: 72.663% (-0.07%) from 72.728%
17461076910

Pull #3814

github

web-flow
fix: allow field hooks to omit a field from code generation

A field hook may return nil which results in a nil-pointer deref later on. This checks for nil and returns immediately to avoid this and effectively allow field hooks to omit a field entirely.
Pull Request #3814: fix: handle nil-return from field hooks to omit a field from code generation

1 of 4 new or added lines in 1 file covered. (25.0%)

10 existing lines in 4 files now uncovered.

8838 of 12163 relevant lines covered (72.66%)

735.06 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

64.81
/codegen/object.go


Source Not Available

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