fix(deps): update module github.com/99designs/gqlgen to v0.17.94 #889

Merged
renovate merged 2 commits from renovate/github.com-99designs-gqlgen-0.x into main 2026-07-15 12:52:02 +00:00
Owner

This PR contains the following updates:

Package Change Age Confidence
github.com/99designs/gqlgen v0.17.93v0.17.94 age confidence

Release Notes

99designs/gqlgen (github.com/99designs/gqlgen)

v0.17.94

Compare Source

Upcoming Potentially Breaking Changes Warning

This release has changes in the Federation plugin, introducing opt-in changes that will become the default in the next release (v0.17.95).

When configured, the federation plugin creates an entity resolver that accepts a list of representations, improving performance by reducing the number of individual resolver calls.

// IMPORTANT: The output slice order is critical and must match the input slice order exactly!
func (r *entityResolver) FindUserByIDs(ctx context.Context, reps []*entity.UserByIDsInput) ([]*model.User, error) {
	output := make([]*model.User, len(reps))
	for i, user := range reps {
		output[i] = &model.User{
			ID:   user.ID,
			Name: "User " + user.ID,
		}
	}

	return output, nil
}

The @entityResolver directive enables optimization for entity resolver generation in GraphQL federation, and can be opted in by specifying multi: true as in:

type MultiHello @​key(fields: "name") @​entityResolver(multi: true)

Or you can enable this feature by default by setting the federation.options.entity_resolver_multi flag in your configuration:

federation:
  filename: graph/federation.go
  package: graph
  version: 2
  options:
    entity_resolver_multi: true

What's Changed

New Contributors

Full Changelog: https://github.com/99designs/gqlgen/compare/v0.17.93...v0.17.94


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [github.com/99designs/gqlgen](https://github.com/99designs/gqlgen) | `v0.17.93` → `v0.17.94` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2f99designs%2fgqlgen/v0.17.94?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2f99designs%2fgqlgen/v0.17.93/v0.17.94?slim=true) | --- ### Release Notes <details> <summary>99designs/gqlgen (github.com/99designs/gqlgen)</summary> ### [`v0.17.94`](https://github.com/99designs/gqlgen/releases/tag/v0.17.94) [Compare Source](https://github.com/99designs/gqlgen/compare/v0.17.93...v0.17.94) #### Upcoming Potentially Breaking Changes Warning This release has changes in the Federation plugin, introducing *opt-in* changes that will become the default in the *next* release (v0.17.95). When configured, the federation plugin creates an entity resolver that accepts a list of *representations*, improving performance by reducing the number of individual resolver calls. ``` // IMPORTANT: The output slice order is critical and must match the input slice order exactly! func (r *entityResolver) FindUserByIDs(ctx context.Context, reps []*entity.UserByIDsInput) ([]*model.User, error) { output := make([]*model.User, len(reps)) for i, user := range reps { output[i] = &model.User{ ID: user.ID, Name: "User " + user.ID, } } return output, nil } ``` The [`@entityResolver`](https://gqlgen.com/recipes/federation/#using-entityresolver) directive enables optimization for entity resolver generation in GraphQL federation, and can be opted in by specifying `multi: true` as in: ``` type MultiHello @&#8203;key(fields: "name") @&#8203;entityResolver(multi: true) ``` Or you can enable this feature by default by setting the `federation.options.entity_resolver_multi` flag in your configuration: ``` federation: filename: graph/federation.go package: graph version: 2 options: entity_resolver_multi: true ``` #### What's Changed - fix(federation): disambiguate colliding key-field Go names in multi-resolvers by [@&#8203;StevenACoffman](https://github.com/StevenACoffman) in [#&#8203;4241](https://github.com/99designs/gqlgen/pull/4241) - fix(federation): return a positioned validation error for [@&#8203;key](https://github.com/key) referencing an undeclared field by [@&#8203;StevenACoffman](https://github.com/StevenACoffman) in [#&#8203;4249](https://github.com/99designs/gqlgen/pull/4249) - Federation: per-entity [@&#8203;requires](https://github.com/requires) strategies with preloaded batch delivery by [@&#8203;StevenACoffman](https://github.com/StevenACoffman) in [#&#8203;4242](https://github.com/99designs/gqlgen/pull/4242) - Update github.com/gqlparser/vektah/gqlparser/v2 to v2.5.36 by [@&#8203;StevenACoffman](https://github.com/StevenACoffman) in [#&#8203;4250](https://github.com/99designs/gqlgen/pull/4250) - chore: drop dead vSlice predecl in codegen template by [@&#8203;c-tonneslan](https://github.com/c-tonneslan) in [#&#8203;4197](https://github.com/99designs/gqlgen/pull/4197) - Disable scalar leaf suggestions when requested by [@&#8203;XuankangLin](https://github.com/XuankangLin) in [#&#8203;4252](https://github.com/99designs/gqlgen/pull/4252) - feat(federation): per-field computed [@&#8203;requires](https://github.com/requires) via [@&#8203;computedRequires](https://github.com/computedRequires) by [@&#8203;StevenACoffman](https://github.com/StevenACoffman) in [#&#8203;4251](https://github.com/99designs/gqlgen/pull/4251) - Fix panic when resolver returns a nil pointer to a slice or any by [@&#8203;surbhi-singh](https://github.com/surbhi-singh) in [#&#8203;4256](https://github.com/99designs/gqlgen/pull/4256) - fix: `@goEmbedInterface` generating double-pointer getters for nullable fields by [@&#8203;adrianlungu](https://github.com/adrianlungu) in [#&#8203;4258](https://github.com/99designs/gqlgen/pull/4258) - Update to golang.org/x/text\@&#8203;v0.40.0 and golang.org/x/sync\@&#8203;v0.22.0 and golang.org/x/tools\@&#8203;v0.48.0 and golang.org/x/net\@&#8203;v0.57.0 by [@&#8203;StevenACoffman](https://github.com/StevenACoffman) in [#&#8203;4259](https://github.com/99designs/gqlgen/pull/4259) - chore(deps): bump github.com/urfave/cli/v3 from 3.10.0 to 3.10.1 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4246](https://github.com/99designs/gqlgen/pull/4246) - chore(deps): bump actions/setup-go from 6.4.0 to 6.5.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4244](https://github.com/99designs/gqlgen/pull/4244) - chore(deps-dev): bump urql from 5.0.2 to 5.0.3 in /integration by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4245](https://github.com/99designs/gqlgen/pull/4245) - chore(deps): bump golang.org/x/tools from 0.46.0 to 0.47.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4247](https://github.com/99designs/gqlgen/pull/4247) #### New Contributors - [@&#8203;XuankangLin](https://github.com/XuankangLin) made their first contribution in [#&#8203;4252](https://github.com/99designs/gqlgen/pull/4252) - [@&#8203;surbhi-singh](https://github.com/surbhi-singh) made their first contribution in [#&#8203;4256](https://github.com/99designs/gqlgen/pull/4256) **Full Changelog**: <https://github.com/99designs/gqlgen/compare/v0.17.93...v0.17.94> </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNDMuMiIsInVwZGF0ZWRJblZlciI6IjQzLjI0My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
renovate scheduled this pull request to auto merge when all checks succeed 2026-07-12 15:13:09 +00:00
Author
Owner

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 4 additional dependencies were updated

Details:

Package Change
github.com/urfave/cli/v3 v3.10.0 -> v3.10.1
golang.org/x/mod v0.37.0 -> v0.38.0
golang.org/x/net v0.56.0 -> v0.57.0
golang.org/x/tools v0.47.0 -> v0.48.0
### ℹ️ Artifact update notice ##### File name: go.mod In order to perform the update(s) described in the table above, Renovate ran the `go get` command, which resulted in the following additional change(s): - 4 additional dependencies were updated Details: | **Package** | **Change** | | :------------------------- | :--------------------- | | `github.com/urfave/cli/v3` | `v3.10.0` -> `v3.10.1` | | `golang.org/x/mod` | `v0.37.0` -> `v0.38.0` | | `golang.org/x/net` | `v0.56.0` -> `v0.57.0` | | `golang.org/x/tools` | `v0.47.0` -> `v0.48.0` |
renovate force-pushed renovate/github.com-99designs-gqlgen-0.x from 3dcffcc0c5 to 65efd7c50c 2026-07-12 18:10:34 +00:00 Compare
renovate added 1 commit 2026-07-14 07:11:40 +00:00
fix(deps): update module github.com/99designs/gqlgen to v0.17.94
renovate/stability-days Updates have met minimum release age requirement
schemas / check (pull_request) Failing after 1m2s
schemas / vulnerabilities (pull_request) Successful in 56s
schemas / check-release (pull_request) Successful in 58s
schemas / build (pull_request) Has been skipped
schemas / deploy-prod (pull_request) Has been skipped
pre-commit / pre-commit (pull_request) Successful in 2m53s
61cb42e99b
renovate force-pushed renovate/github.com-99designs-gqlgen-0.x from 65efd7c50c to 61cb42e99b 2026-07-14 07:11:40 +00:00 Compare
argoyle added 1 commit 2026-07-15 11:22:58 +00:00
chore: regenerate gqlgen output for v0.17.94
schemas / check-release (pull_request) Successful in 1m0s
schemas / vulnerabilities (pull_request) Successful in 1m7s
schemas / check (pull_request) Successful in 1m35s
pre-commit / pre-commit (pull_request) Successful in 3m31s
schemas / build (pull_request) Successful in 3m54s
schemas / deploy-prod (pull_request) Has been skipped
0aa02a73db
gqlgen v0.17.94 changed the generated slice coercion to a short variable
declaration. Regenerate so the CI generate-and-format check stays clean.
Author
Owner

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

### Edited/Blocked Notification Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. ⚠️ **Warning**: custom changes will be lost.
argoyle closed this pull request 2026-07-15 12:43:34 +00:00
argoyle reopened this pull request 2026-07-15 12:43:44 +00:00
renovate merged commit 4daa54bd4f into main 2026-07-15 12:52:02 +00:00
renovate deleted branch renovate/github.com-99designs-gqlgen-0.x 2026-07-15 12:52:04 +00:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unboundsoftware/schemas#889