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

99designs / gqlgen / 15859735574
0%

Build:
DEFAULT BRANCH: master
Ran 24 Jun 2025 07:31PM UTC
Jobs 1
Files 155
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

24 Jun 2025 07:30PM UTC coverage: 73.211% (+0.1%) from 73.069%
15859735574

push

github

web-flow
Fix/explicit requires with mutli entity resolver (#3744)

This is a PR addressing this issue: #3742 

These changes ensure that `explicit_requires` is respected and used even when `@entityResolver(multi: true)`.  

Prior to this schema generation would fail if you required fields from an field of type [object]. Also the Populate functions for `explicit_requires` would not be respected when `@entityResolver(multi: true)`.

Example of failed generation schema:

```
type Product @key(fields: "id") @entityResolver(multi: true)  {
  id: ID!
  someField: [SomeItem!]
  price: Float! @requires(fields: "someField {key value}") @goField(forceResolver: true)
}

type SomeItem {
  key: String!
  value: String!
}
```

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

2 of 4 new or added lines in 2 files covered. (50.0%)

8819 of 12046 relevant lines covered (73.21%)

740.15 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
49.21
22.98% plugin/federation/testdata/computedrequires/schema.resolvers.go
Jobs
ID Job ID Ran Files Coverage
1 15859735574.1 24 Jun 2025 07:31PM UTC 155
73.21
GitHub Action Run
Source Files on build 15859735574
  • Tree
  • List 155
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 74ff0f8d on github
  • Prev Build on master (#15852818268)
  • Next Build on master (#15914037944)
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