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

99designs / gqlgen / 28523616659
0%
master: 0%

Build:
Build:
LAST BUILD BRANCH: simplify/coerce-list-callsite
DEFAULT BRANCH: master
Ran 01 Jul 2026 02:11PM 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

01 Jul 2026 02:07PM UTC coverage: 0.0%. Remained the same
28523616659

Pull #4242

github

StevenACoffman
feat(federation): per-entity @requires strategy via @entityResolver

The @requires strategy (default / explicit / computed / preloaded) was
selected by package option, so a whole subgraph had to use one. A subgraph
with an object-typed @requires entity (which needs computed) and a scalar
@requires entity (which wants preloaded) could not express both.

Each entity can now choose its strategy with @entityResolver(requires: "..."),
overriding the package default — mirroring how `multi` already resolves per
entity. The four strategies are one mutually-exclusive axis, so the choice is
unambiguous per entity.

Backward compatible: with no `requires:` argument an entity falls back to the
package default, so existing schemas regenerate byte-identical.

- add RequiresStrategy + Is{Default,Explicit,Computed}Requires / IsPreloaded
  methods (entity.go) and resolveRequiresStrategy (federation.go)
- scope the computed schema mutation, preloaded input population, and explicit
  populator generation to the entities that select each strategy
- switch the template guards from package options to per-entity methods
- validate unknown strategies, preloaded-without-multi, and the computed
  prerequisites (Federation 2 + call_argument_directives_with_null) per entity
- add testdata/entityresolverpreloaded + TestEntityResolverPreloaded proving a
  multi resolver sees every entity's scalar @requires in one scope
- add testdata/mixedrequires (computed + preloaded in one package),
  TestMixedRequiresStrategies, and TestResolveRequiresStrategy
- document per-entity selection and the strategy taxonomy in the recipe

Signed-off-by: Steve Coffman <steve@khanacademy.org>
Pull Request #4242: fed batch

0 of 0 relevant lines covered (NaN%)

0.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28523616659.1 01 Jul 2026 02:11PM UTC 0
0.0
GitHub Action Run
Source Files on build 28523616659
Detailed source file information is not available for this build.
  • Back to Repo
  • Pull Request #4242
  • PR Base - master (#28466107020)
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