Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: stop loading package dependencies #2988

Merged

Conversation

agratta-silo
Copy link
Contributor

fixes #2981

Stop passing NeedImports and NeedDeps to packages.Load().

Depending on the packages we are loading, these flags can cause gigabytes of extra data to be loaded, because they indicate we want type info for all transitive dependencies. This extra info is completely unused by gqlgen as far as I can tell.

Conceptually, if we are binding to types in a particular package, it doesn't make sense that we would need to know about the dependencies of that package, so I'm not sure why this data was ever being loaded. The packages.Load documentation is poor and the issue was likely never noticed because it only appears when binding to packages with many transitive dependencies.

Since we are no longer loading dependencies, I've also removed the logic around caching the dependencies.

@coveralls
Copy link

Coverage Status

coverage: 75.198% (+0.01%) from 75.187%
when pulling 7158cb4 on silo-technologies:fix/stop-loading-deps
into d0a1aec on 99designs:master.

@StevenACoffman StevenACoffman merged commit 99d7d88 into 99designs:master Apr 6, 2024
17 checks passed
@StevenACoffman
Copy link
Collaborator

Thanks! If you get a chance, I would love a PR to improve the documentation.

clayne11 added a commit to clayne11/gqlgen that referenced this pull request Jul 13, 2024
This reverts commit 99d7d88.

Making this change stopped builds with Bazel from functioning.
github-merge-queue bot referenced this pull request in infratographer/x Aug 8, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/99designs/gqlgen](https://github.com/99designs/gqlgen) |
`v0.17.45` -> `v0.17.49` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2f99designs%2fgqlgen/v0.17.49?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2f99designs%2fgqlgen/v0.17.49?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2f99designs%2fgqlgen/v0.17.45/v0.17.49?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2f99designs%2fgqlgen/v0.17.45/v0.17.49?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>99designs/gqlgen (github.com/99designs/gqlgen)</summary>

###
[`v0.17.49`](https://github.com/99designs/gqlgen/releases/tag/v0.17.49)

[Compare
Source](https://github.com/99designs/gqlgen/compare/v0.17.48...v0.17.49)

#### What's Changed

- chore(deps): bump golang.org/x/text from 0.15.0 to 0.16.0 in
/\_examples by [@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/3123](https://github.com/99designs/gqlgen/pull/3123)
- chore(deps-dev): bump vite from 5.2.12 to 5.2.13 in /integration by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/3126](https://github.com/99designs/gqlgen/pull/3126)
- chore(deps): bump golang.org/x/text from 0.15.0 to 0.16.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/3124](https://github.com/99designs/gqlgen/pull/3124)
- chore(deps): bump golang.org/x/tools from 0.21.0 to 0.22.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/3125](https://github.com/99designs/gqlgen/pull/3125)
- Linter update + add revive rules by
[@&#8203;StevenACoffman](https://github.com/StevenACoffman) in
[https://github.com/99designs/gqlgen/pull/3127](https://github.com/99designs/gqlgen/pull/3127)
- chore(deps): bump github.com/vektah/gqlparser/v2 from 2.5.12 to 2.5.14
in the go_modules group by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/3133](https://github.com/99designs/gqlgen/pull/3133)
- chore(deps-dev): bump braces from 3.0.2 to 3.0.3 in /integration in
the npm_and_yarn group by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/3134](https://github.com/99designs/gqlgen/pull/3134)
- [#&#8203;3118](https://github.com/99designs/gqlgen/issues/3118) Add
token limit option to fix CVE-2023-49559 by
[@&#8203;xaviergodart](https://github.com/xaviergodart) in
[https://github.com/99designs/gqlgen/pull/3136](https://github.com/99designs/gqlgen/pull/3136)
- refactor: add missed file.Close() and use t.TempDir() by
[@&#8203;alexandear](https://github.com/alexandear) in
[https://github.com/99designs/gqlgen/pull/3137](https://github.com/99designs/gqlgen/pull/3137)

#### New Contributors

- [@&#8203;xaviergodart](https://github.com/xaviergodart) made their
first contribution in
[https://github.com/99designs/gqlgen/pull/3136](https://github.com/99designs/gqlgen/pull/3136)

**Full Changelog**:
99designs/gqlgen@v0.17.48...v0.17.49

###
[`v0.17.48`](https://github.com/99designs/gqlgen/releases/tag/v0.17.48)

[Compare
Source](https://github.com/99designs/gqlgen/compare/v0.17.47...v0.17.48)

#### What's Changed

- chore(deps-dev): bump
[@&#8203;graphql-codegen/client-preset](https://github.com/graphql-codegen/client-preset)
from 4.2.5 to 4.2.6 in /integration by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/3084](https://github.com/99designs/gqlgen/pull/3084)
- chore(deps-dev): bump
[@&#8203;apollo/client](https://github.com/apollo/client) from 3.10.3
to 3.10.4 in /integration by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/3085](https://github.com/99designs/gqlgen/pull/3085)
- Embed extra fields config by
[@&#8203;atzedus](https://github.com/atzedus) in
[https://github.com/99designs/gqlgen/pull/3088](https://github.com/99designs/gqlgen/pull/3088)
- refactor: use 'any' instead of 'interface{}' for consistency by
[@&#8203;alexandear](https://github.com/alexandear) in
[https://github.com/99designs/gqlgen/pull/3090](https://github.com/99designs/gqlgen/pull/3090)
- refactor: UnmarshalID implementation by
[@&#8203;alexandear](https://github.com/alexandear) in
[https://github.com/99designs/gqlgen/pull/3093](https://github.com/99designs/gqlgen/pull/3093)
- refactor: simplify with strconv.FormatBool by
[@&#8203;alexandear](https://github.com/alexandear) in
[https://github.com/99designs/gqlgen/pull/3094](https://github.com/99designs/gqlgen/pull/3094)
- Fix go install gqlgen binary by
[@&#8203;alexandear](https://github.com/alexandear) in
[https://github.com/99designs/gqlgen/pull/3095](https://github.com/99designs/gqlgen/pull/3095)
- Ignore gorilla/websocket 1.5.1 in dependabot by
[@&#8203;StevenACoffman](https://github.com/StevenACoffman) in
[https://github.com/99designs/gqlgen/pull/3097](https://github.com/99designs/gqlgen/pull/3097)
- refactor: avoid panic in tests by
[@&#8203;alexandear](https://github.com/alexandear) in
[https://github.com/99designs/gqlgen/pull/3098](https://github.com/99designs/gqlgen/pull/3098)
- refactor: rename local variables to match Go codestyle by
[@&#8203;alexandear](https://github.com/alexandear) in
[https://github.com/99designs/gqlgen/pull/3100](https://github.com/99designs/gqlgen/pull/3100)
- refactor: use t.Log instead of fmt.Print by
[@&#8203;alexandear](https://github.com/alexandear) in
[https://github.com/99designs/gqlgen/pull/3099](https://github.com/99designs/gqlgen/pull/3099)
- Some minor test lint by
[@&#8203;StevenACoffman](https://github.com/StevenACoffman) in
[https://github.com/99designs/gqlgen/pull/3102](https://github.com/99designs/gqlgen/pull/3102)
- ignore websocket v1.5.1 release for dependabot updates to the
\_examples module by
[@&#8203;StevenACoffman](https://github.com/StevenACoffman) in
[https://github.com/99designs/gqlgen/pull/3101](https://github.com/99designs/gqlgen/pull/3101)
- fix: tests failure, testifylint issues, pin golangci-lint version by
[@&#8203;alexandear](https://github.com/alexandear) in
[https://github.com/99designs/gqlgen/pull/3105](https://github.com/99designs/gqlgen/pull/3105)
- testifylint v1.3.0 fixes by
[@&#8203;StevenACoffman](https://github.com/StevenACoffman) in
[https://github.com/99designs/gqlgen/pull/3103](https://github.com/99designs/gqlgen/pull/3103)
- refactor: fix testifylint lint issues in examples by
[@&#8203;alexandear](https://github.com/alexandear) in
[https://github.com/99designs/gqlgen/pull/3107](https://github.com/99designs/gqlgen/pull/3107)
- Remove duplicated return_pointers_in_unmarshalinput explanation by
[@&#8203;cirelli94](https://github.com/cirelli94) in
[https://github.com/99designs/gqlgen/pull/3109](https://github.com/99designs/gqlgen/pull/3109)
- Go template function to split string into array of strings. by
[@&#8203;khudayberdiyev25](https://github.com/khudayberdiyev25) in
[https://github.com/99designs/gqlgen/pull/3108](https://github.com/99designs/gqlgen/pull/3108)
- Correct dataloader example by
[@&#8203;mpldr](https://github.com/mpldr) in
[https://github.com/99designs/gqlgen/pull/3110](https://github.com/99designs/gqlgen/pull/3110)
- Omit gqlgen version in config files used for tests by
[@&#8203;alexandear](https://github.com/alexandear) in
[https://github.com/99designs/gqlgen/pull/3111](https://github.com/99designs/gqlgen/pull/3111)
- refactor: use errors.New instead of fmt.Errorf where possible by
[@&#8203;alexandear](https://github.com/alexandear) in
[https://github.com/99designs/gqlgen/pull/3112](https://github.com/99designs/gqlgen/pull/3112)
- refactor: fix gocritic lint issues by
[@&#8203;alexandear](https://github.com/alexandear) in
[https://github.com/99designs/gqlgen/pull/3113](https://github.com/99designs/gqlgen/pull/3113)
- add option to omit panic handlers during development by
[@&#8203;mpldr](https://github.com/mpldr) in
[https://github.com/99designs/gqlgen/pull/3114](https://github.com/99designs/gqlgen/pull/3114)
- chore(deps-dev): bump vite from 5.2.11 to 5.2.12 in /integration by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/3117](https://github.com/99designs/gqlgen/pull/3117)

#### New Contributors

- [@&#8203;cirelli94](https://github.com/cirelli94) made their first
contribution in
[https://github.com/99designs/gqlgen/pull/3109](https://github.com/99designs/gqlgen/pull/3109)
- [@&#8203;khudayberdiyev25](https://github.com/khudayberdiyev25) made
their first contribution in
[https://github.com/99designs/gqlgen/pull/3108](https://github.com/99designs/gqlgen/pull/3108)
- [@&#8203;mpldr](https://github.com/mpldr) made their first
contribution in
[https://github.com/99designs/gqlgen/pull/3110](https://github.com/99designs/gqlgen/pull/3110)

**Full Changelog**:
99designs/gqlgen@v0.17.47...v0.17.48

###
[`v0.17.47`](https://github.com/99designs/gqlgen/releases/tag/v0.17.47)

[Compare
Source](https://github.com/99designs/gqlgen/compare/v0.17.46...v0.17.47)

##### What's Changed

- chore: simplify generating examples in release script by
[@&#8203;alexandear](https://github.com/alexandear) in
[https://github.com/99designs/gqlgen/pull/3064](https://github.com/99designs/gqlgen/pull/3064)
- refactor: compile regex only once by
[@&#8203;alexandear](https://github.com/alexandear) in
[https://github.com/99designs/gqlgen/pull/3063](https://github.com/99designs/gqlgen/pull/3063)
- refactor: simplify test asserts by
[@&#8203;alexandear](https://github.com/alexandear) in
[https://github.com/99designs/gqlgen/pull/3061](https://github.com/99designs/gqlgen/pull/3061)
- Fix typo in error message by
[@&#8203;alexandear](https://github.com/alexandear) in
[https://github.com/99designs/gqlgen/pull/3065](https://github.com/99designs/gqlgen/pull/3065)
- chore: remove deprecated errcheck.ignore lint option by
[@&#8203;alexandear](https://github.com/alexandear) in
[https://github.com/99designs/gqlgen/pull/3062](https://github.com/99designs/gqlgen/pull/3062)
- chore(deps): bump golangci/golangci-lint-action from 5.3.0 to 6.0.1 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/3069](https://github.com/99designs/gqlgen/pull/3069)
- chore(deps): bump google.golang.org/protobuf from 1.34.0 to 1.34.1 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/3071](https://github.com/99designs/gqlgen/pull/3071)
- chore(deps-dev): bump
[@&#8203;apollo/client](https://github.com/apollo/client) from 3.10.2
to 3.10.3 in /integration by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/3073](https://github.com/99designs/gqlgen/pull/3073)
- chore(deps-dev): bump urql from 4.0.7 to 4.1.0 in /integration by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/3074](https://github.com/99designs/gqlgen/pull/3074)
- chore(deps): bump golang.org/x/tools from 0.20.0 to 0.21.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/3072](https://github.com/99designs/gqlgen/pull/3072)
- chore(deps): bump github.com/sosodev/duration from 1.3.0 to 1.3.1 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/3070](https://github.com/99designs/gqlgen/pull/3070)
- Fix go mod tidy by
[@&#8203;StevenACoffman](https://github.com/StevenACoffman) in
[https://github.com/99designs/gqlgen/pull/3075](https://github.com/99designs/gqlgen/pull/3075)
- Ability to inline extraFields configuration. New
[@&#8203;goExtraField](https://github.com/goExtraField) directive. by
[@&#8203;atzedus](https://github.com/atzedus) in
[https://github.com/99designs/gqlgen/pull/3076](https://github.com/99designs/gqlgen/pull/3076)
- Federation: Update docs to use IntrospectAndCompose by
[@&#8203;frankywahl](https://github.com/frankywahl) in
[https://github.com/99designs/gqlgen/pull/3077](https://github.com/99designs/gqlgen/pull/3077)
- bugfix for [@&#8203;goField](https://github.com/goField) +
[@&#8203;goExtraField](https://github.com/goExtraField) combination by
[@&#8203;atzedus](https://github.com/atzedus) in
[https://github.com/99designs/gqlgen/pull/3078](https://github.com/99designs/gqlgen/pull/3078)
- Fix [#&#8203;2856](https://github.com/99designs/gqlgen/issues/2856):
resolver receive previous implementation on render by
[@&#8203;roneli](https://github.com/roneli) in
[https://github.com/99designs/gqlgen/pull/2886](https://github.com/99designs/gqlgen/pull/2886)
- Update gqlparser to v2.5.12 by
[@&#8203;StevenACoffman](https://github.com/StevenACoffman) in
[https://github.com/99designs/gqlgen/pull/3080](https://github.com/99designs/gqlgen/pull/3080)

**Full Changelog**:
99designs/gqlgen@v0.17.46...v0.17.47

###
[`v0.17.46`](https://github.com/99designs/gqlgen/releases/tag/v0.17.46)

[Compare
Source](https://github.com/99designs/gqlgen/compare/v0.17.45...v0.17.46)

#### What's Changed

- Bump [@&#8203;apollo/client](https://github.com/apollo/client) from
3.9.6 to 3.9.7 in /integration by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/2970](https://github.com/99designs/gqlgen/pull/2970)
- Bump vitest from 1.3.1 to 1.4.0 in /integration by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/2972](https://github.com/99designs/gqlgen/pull/2972)
- Bump vite from 5.1.5 to 5.1.6 in /integration by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/2971](https://github.com/99designs/gqlgen/pull/2971)
- chore: remove repetitive words by
[@&#8203;deterclosed](https://github.com/deterclosed) in
[https://github.com/99designs/gqlgen/pull/2976](https://github.com/99designs/gqlgen/pull/2976)
- Bump typescript from 5.4.2 to 5.4.3 in /integration by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/2979](https://github.com/99designs/gqlgen/pull/2979)
- Bump vite from 5.1.6 to 5.2.6 in /integration by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/2978](https://github.com/99designs/gqlgen/pull/2978)
- Bump [@&#8203;apollo/client](https://github.com/apollo/client) from
3.9.7 to 3.9.9 in /integration by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/2977](https://github.com/99designs/gqlgen/pull/2977)
- Add UintID type binding by
[@&#8203;nawivee](https://github.com/nawivee) in
[https://github.com/99designs/gqlgen/pull/2980](https://github.com/99designs/gqlgen/pull/2980)
- Bump
[@&#8203;graphql-codegen/client-preset](https://github.com/graphql-codegen/client-preset)
from 4.2.4 to 4.2.5 in /integration by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/2983](https://github.com/99designs/gqlgen/pull/2983)
- Bump graphql-sse from 2.5.2 to 2.5.3 in /integration by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/2985](https://github.com/99designs/gqlgen/pull/2985)
- Bump vite from 5.2.6 to 5.2.7 in /integration by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/2984](https://github.com/99designs/gqlgen/pull/2984)
- enum values binding by
[@&#8203;nikitacrit](https://github.com/nikitacrit) in
[https://github.com/99designs/gqlgen/pull/2982](https://github.com/99designs/gqlgen/pull/2982)
- fix: stop loading package dependencies by
[@&#8203;agratta-silo](https://github.com/agratta-silo) in
[https://github.com/99designs/gqlgen/pull/2988](https://github.com/99designs/gqlgen/pull/2988)
- Bump typescript from 5.4.3 to 5.4.4 in /integration by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/2993](https://github.com/99designs/gqlgen/pull/2993)
- Bump [@&#8203;apollo/client](https://github.com/apollo/client) from
3.9.9 to 3.9.10 in /integration by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/2994](https://github.com/99designs/gqlgen/pull/2994)
- Update `tools.go` url by
[@&#8203;38elements](https://github.com/38elements) in
[https://github.com/99designs/gqlgen/pull/2987](https://github.com/99designs/gqlgen/pull/2987)
- Bump vite from 5.2.7 to 5.2.8 in /integration by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/2992](https://github.com/99designs/gqlgen/pull/2992)
- Bump golang.org/x/tools from 0.19.0 to 0.20.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/2996](https://github.com/99designs/gqlgen/pull/2996)
- Bump graphql-ws from 5.15.0 to 5.16.0 in /integration by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/2986](https://github.com/99designs/gqlgen/pull/2986)
- Bump urql from 4.0.6 to 4.0.7 in /integration by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/2995](https://github.com/99designs/gqlgen/pull/2995)
- Mark ctx as unused when no arguments for FieldContextFunc by
[@&#8203;halkeye](https://github.com/halkeye) in
[https://github.com/99designs/gqlgen/pull/2999](https://github.com/99designs/gqlgen/pull/2999)
- chore: update Automatic Persisted Queries Link by
[@&#8203;38elements](https://github.com/38elements) in
[https://github.com/99designs/gqlgen/pull/3005](https://github.com/99designs/gqlgen/pull/3005)
- fix: codegen will \_ the fieldset parameter if its not needed by
[@&#8203;halkeye](https://github.com/halkeye) in
[https://github.com/99designs/gqlgen/pull/3006](https://github.com/99designs/gqlgen/pull/3006)
- Bump vitest from 1.4.0 to 1.5.0 in /integration by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/3012](https://github.com/99designs/gqlgen/pull/3012)
- Bump typescript from 5.4.4 to 5.4.5 in /integration by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/3010](https://github.com/99designs/gqlgen/pull/3010)
- Bump [@&#8203;apollo/client](https://github.com/apollo/client) from
3.9.10 to 3.9.11 in /integration by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/3011](https://github.com/99designs/gqlgen/pull/3011)
- Bump vite from 5.2.8 to 5.2.10 in /integration by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/3015](https://github.com/99designs/gqlgen/pull/3015)
- chore: fix some typos in comments by
[@&#8203;knowmost](https://github.com/knowmost) in
[https://github.com/99designs/gqlgen/pull/3020](https://github.com/99designs/gqlgen/pull/3020)
- chore: remove unused lint.txt by
[@&#8203;alexandear](https://github.com/alexandear) in
[https://github.com/99designs/gqlgen/pull/3017](https://github.com/99designs/gqlgen/pull/3017)
- Bump golangci/golangci-lint-action from 4.0.0 to 5.0.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/3026](https://github.com/99designs/gqlgen/pull/3026)
- Bump github.com/rs/cors from 1.10.1 to 1.11.0 in /\_examples by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/3025](https://github.com/99designs/gqlgen/pull/3025)
- Bump github.com/urfave/cli/v2 from 2.27.1 to 2.27.2 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/3023](https://github.com/99designs/gqlgen/pull/3023)
- Bump [@&#8203;apollo/client](https://github.com/apollo/client) from
3.9.11 to 3.10.1 in /integration by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/3022](https://github.com/99designs/gqlgen/pull/3022)
- Bump vitest from 1.5.0 to 1.5.2 in /integration by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/3021](https://github.com/99designs/gqlgen/pull/3021)
- Bump github.com/sosodev/duration from 1.2.0 to 1.3.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/3024](https://github.com/99designs/gqlgen/pull/3024)
- Fix test asserts: reverse expected and actual params by
[@&#8203;alexandear](https://github.com/alexandear) in
[https://github.com/99designs/gqlgen/pull/3027](https://github.com/99designs/gqlgen/pull/3027)
- refactor: simplify tests for `api.Generate` by
[@&#8203;alexandear](https://github.com/alexandear) in
[https://github.com/99designs/gqlgen/pull/3031](https://github.com/99designs/gqlgen/pull/3031)
- Improve federation resolver selection by
[@&#8203;clayne11](https://github.com/clayne11) in
[https://github.com/99designs/gqlgen/pull/3029](https://github.com/99designs/gqlgen/pull/3029)
- chore: `run.skip-dirs` is deprecated in golangci-lint v1.57 by
[@&#8203;alexandear](https://github.com/alexandear) in
[https://github.com/99designs/gqlgen/pull/3034](https://github.com/99designs/gqlgen/pull/3034)
- chore: remove redundant empty lines by
[@&#8203;alexandear](https://github.com/alexandear) in
[https://github.com/99designs/gqlgen/pull/3035](https://github.com/99designs/gqlgen/pull/3035)
- refactor: change test asserts to be more idiomatic by
[@&#8203;alexandear](https://github.com/alexandear) in
[https://github.com/99designs/gqlgen/pull/3036](https://github.com/99designs/gqlgen/pull/3036)
- docs: fix links to the docs latest version by
[@&#8203;alexandear](https://github.com/alexandear) in
[https://github.com/99designs/gqlgen/pull/3038](https://github.com/99designs/gqlgen/pull/3038)
- Fix codegen config tests: add file closing by
[@&#8203;alexandear](https://github.com/alexandear) in
[https://github.com/99designs/gqlgen/pull/3037](https://github.com/99designs/gqlgen/pull/3037)
- chore: remove deprecated build constraint by
[@&#8203;alexandear](https://github.com/alexandear) in
[https://github.com/99designs/gqlgen/pull/3041](https://github.com/99designs/gqlgen/pull/3041)
- chore: lint \_examples directory by
[@&#8203;alexandear](https://github.com/alexandear) in
[https://github.com/99designs/gqlgen/pull/3042](https://github.com/99designs/gqlgen/pull/3042)
- Add initial cache tests for MapCache and NoCache by
[@&#8203;shion0625](https://github.com/shion0625) in
[https://github.com/99designs/gqlgen/pull/3040](https://github.com/99designs/gqlgen/pull/3040)
- enum values binding v2 by
[@&#8203;nikitacrit](https://github.com/nikitacrit) in
[https://github.com/99designs/gqlgen/pull/3014](https://github.com/99designs/gqlgen/pull/3014)
- chore: simplify go generate in examples by
[@&#8203;alexandear](https://github.com/alexandear) in
[https://github.com/99designs/gqlgen/pull/3033](https://github.com/99designs/gqlgen/pull/3033)
- chore(deps): bump golangci/golangci-lint-action from 5.0.0 to 5.3.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/3054](https://github.com/99designs/gqlgen/pull/3054)
- chore(deps): bump golang.org/x/text from 0.14.0 to 0.15.0 in
/\_examples by [@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/3053](https://github.com/99designs/gqlgen/pull/3053)
- chore(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/3050](https://github.com/99designs/gqlgen/pull/3050)
- chore(deps-dev): bump
[@&#8203;apollo/client](https://github.com/apollo/client) from 3.10.1
to 3.10.2 in /integration by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/3049](https://github.com/99designs/gqlgen/pull/3049)
- chore(deps-dev): bump vitest from 1.5.2 to 1.6.0 in /integration by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/3048](https://github.com/99designs/gqlgen/pull/3048)
- chore(deps): bump github.com/PuerkitoBio/goquery from 1.9.1 to 1.9.2
by [@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/3051](https://github.com/99designs/gqlgen/pull/3051)
- chore(deps): bump golang.org/x/text from 0.14.0 to 0.15.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/3052](https://github.com/99designs/gqlgen/pull/3052)
- chore(deps-dev): bump vite from 5.2.10 to 5.2.11 in /integration by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/99designs/gqlgen/pull/3047](https://github.com/99designs/gqlgen/pull/3047)
- fix: failed to build \_examples/websocket-initfunc/server/server.go
([#&#8203;3055](https://github.com/99designs/gqlgen/issues/3055)) by
[@&#8203;Reimei1213](https://github.com/Reimei1213) in
[https://github.com/99designs/gqlgen/pull/3058](https://github.com/99designs/gqlgen/pull/3058)

#### New Contributors

- [@&#8203;deterclosed](https://github.com/deterclosed) made their
first contribution in
[https://github.com/99designs/gqlgen/pull/2976](https://github.com/99designs/gqlgen/pull/2976)
- [@&#8203;nawivee](https://github.com/nawivee) made their first
contribution in
[https://github.com/99designs/gqlgen/pull/2980](https://github.com/99designs/gqlgen/pull/2980)
- [@&#8203;nikitacrit](https://github.com/nikitacrit) made their first
contribution in
[https://github.com/99designs/gqlgen/pull/2982](https://github.com/99designs/gqlgen/pull/2982)
- [@&#8203;agratta-silo](https://github.com/agratta-silo) made their
first contribution in
[https://github.com/99designs/gqlgen/pull/2988](https://github.com/99designs/gqlgen/pull/2988)
- [@&#8203;38elements](https://github.com/38elements) made their first
contribution in
[https://github.com/99designs/gqlgen/pull/2987](https://github.com/99designs/gqlgen/pull/2987)
- [@&#8203;halkeye](https://github.com/halkeye) made their first
contribution in
[https://github.com/99designs/gqlgen/pull/2999](https://github.com/99designs/gqlgen/pull/2999)
- [@&#8203;knowmost](https://github.com/knowmost) made their first
contribution in
[https://github.com/99designs/gqlgen/pull/3020](https://github.com/99designs/gqlgen/pull/3020)
- [@&#8203;alexandear](https://github.com/alexandear) made their first
contribution in
[https://github.com/99designs/gqlgen/pull/3017](https://github.com/99designs/gqlgen/pull/3017)
- [@&#8203;shion0625](https://github.com/shion0625) made their first
contribution in
[https://github.com/99designs/gqlgen/pull/3040](https://github.com/99designs/gqlgen/pull/3040)
- [@&#8203;Reimei1213](https://github.com/Reimei1213) made their first
contribution in
[https://github.com/99designs/gqlgen/pull/3058](https://github.com/99designs/gqlgen/pull/3058)

**Full Changelog**:
99designs/gqlgen@v0.17.45...v0.17.46

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, 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 was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job log](https://developer.mend.io/github/infratographer/x).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yMC4xIiwidXBkYXRlZEluVmVyIjoiMzguMjAuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

High Memory Usage During Generation
3 participants