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

99designs / gqlgen / 14431021648

13 Apr 2025 03:53PM UTC coverage: 72.958% (-0.4%) from 73.331%
14431021648

Pull #3660

github

sonatard
Omittable supports IsZero method for omitzero

API may behave differently when JSON is undefined versus when it is null.

- undefined
  - no effect
  - json: `{}`

```go
input := UserUpdateInput{
		Name:         graphql.Omittable[string]{},
}
```

- null
  - removes name
  - json: `{"name":null}`

```go
input := UserUpdateInput{
		Name:         graphql.OmittableOf[string](null),
}
```
Pull Request #3660: Omittable supports IsZero method for omitzero

7 of 71 new or added lines in 1 file covered. (9.86%)

7 existing lines in 3 files now uncovered.

8725 of 11959 relevant lines covered (72.96%)

585.86 hits per line

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

75.05
/codegen/config/binder.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