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

99designs / gqlgen / 14430430189

13 Apr 2025 02:32PM UTC coverage: 72.98% (-0.4%) from 73.331%
14430430189

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

18 of 82 new or added lines in 3 files covered. (21.95%)

7 existing lines in 3 files now uncovered.

8735 of 11969 relevant lines covered (72.98%)

729.78 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