-
Notifications
You must be signed in to change notification settings - Fork 0
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(deps): update module github.com/99designs/gqlgen to v0.17.38 #82
Conversation
66e16f3
to
5d0b60b
Compare
5d0b60b
to
aba321e
Compare
aba321e
to
a97da2e
Compare
a97da2e
to
9b26812
Compare
9b26812
to
84bd3ec
Compare
84bd3ec
to
0cbbda8
Compare
0cbbda8
to
389e3fa
Compare
389e3fa
to
5e8c58d
Compare
5e8c58d
to
87b192e
Compare
87b192e
to
18d0282
Compare
18d0282
to
854d713
Compare
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
854d713
to
63ee76a
Compare
63ee76a
to
5b7c545
Compare
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update (v0.17.38). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
This PR contains the following updates:
v0.17.24
->v0.17.38
Release Notes
99designs/gqlgen (github.com/99designs/gqlgen)
v0.17.38
Compare Source
What's Changed
null
instead of zero value uuid by @0x221A in https://github.com/99designs/gqlgen/pull/2794New Contributors
Full Changelog: 99designs/gqlgen@v0.17.37...v0.17.38
v0.17.37
Compare Source
ccae370
release v0.17.376505f8b
Update gqlparser (#2785)153ec470 add uuid type (#2751) (closes #2749)
add uuid type
add uuid example
add uuid scalar doc
strconv.Quote
Apply suggestions from code review
fix
fa471180 ForceGenerate parameter to [@goModel](https://togithub.com/goModel) added. (#2780)
11bb9b18 codegen: add support for `go_build_tags` option in gqlgen.yaml (#2784)
codegen: support go_build_tags option in gqlgen.yaml
chore: added test
docs/content: update config example
chore: more comment
bee47dcf fix flaky test TestSubscriptions (#2779)
fix flaky test TestSubscriptions
update other copy of the test
a41f4da
docs: short-lived loader (#2778)cc4e0ba
ensure HasOperationContext checks for nil (#2776)a1ca2204 fix typo in TESTING.md server path (#2774)
following TESTING.md instructions, I got an error:
"stat ./server/server.go: no such file or directory"
server.go path is: integration/server/cmd/integration/server.go
1cde8c3f return internal types in schema introspection (#2773)
according to graphql spec:
source: https://github.com/graphql/graphql-spec/blob/main/spec/Section%204%20--%20Introspection.md#the-\__schema-type
some clients libs (like HotChocolate for C#) depends on this behavior.
065aea3
Fix gqlgen truncates tag value with colon (#2759)d6270e4
Update subsciptions documentation to correctly close channel (#2753)2d8673a
Add Model references to Interface (#2738)790d7a7
Allow GraphiQL headers to be set when creating the playground handler (#2740) (closes #2739)0eb95dc
v0.17.36 postrelease bumpv0.17.36
Compare Source
bd6cfd3
release v0.17.3660ec0d86 Fix plugin template resolution (#2733) (closes #2262)
Template
andTemplateFS
fields are empty, itRender
should findthe
.gotpl
files from the calling plugin. However, it looks likehelper function. This results in broken behavior in consumers such as
infiotinc/gqlgenc when they
use the latest version of
gqlgen
as instead of finding the templatefrom the plugin, the test template from this package is used which
outputs only:
this is my test package
.runtime.Caller
was still only skippingone stack level which means that it was finding the
Render
functioninstead of its caller.
76d444c
Make models configurable via template (#2730)abe3ffd
Don't set the package variable for the new Resolver Template (#2725)febf9566 Make the resolver implementation configurable via a new template resolver.gotpl (#2720)
Make an optional resolver.gotpl ResolverTemplate to implement a custom resolver
Add test
Add documetation for the new resolver option
Change the tab to spaces
remove unecessary test assertion :/
bda30260 Fixed Data Loader docs (#2723)
Also updated to v7
16c9eb64 Fix docs (#2722)
docs: fix variable names in dataloader sample
fix: request-scoped middleware
b233a01b docs: update dataloader docs (#2719)
docs: update example
docs: update example
fix: import
cccc738
Added go mod tidy to quick start guide (#2718) (closes #2717, #2651, #2641, #2614, #2576)9adc7b8
Update gqlparser to v2.5.8 (#2716)b442fbf
Post v0.17.35 changelog update57c1219
v0.17.35 postrelease bumpv0.17.35
Compare Source
05006bf
release v0.17.35d95d614
Update gqlparser to v2.5.7 (#2714)8c378e6
Updated GraphiQL playground 2.0.7 -> 3.0.1 and react 17 -> 18 (#2713)7880739d Add op ctx safety for apollo tracing (#2709)
6ed9337
fix function name in comment (#2707)2cfb9f9
Fix apollo integrity hash (#2706)470fca8
Update gqlparser again (#2697)280441b
Update changelog5bc36e1
v0.17.34 postrelease bumpv0.17.34
Compare Source
5a70585
release v0.17.341a9dbadd Use "No longer supported" as the default deprecationReason for deprecations without a reason specified (#2692)
fix: use "No longer supported" as the default deprecationReason for deprecated fields with no reason specified
test: add integration tests to ensure deprecated fields with no reason set get the default reason defined in the spec
No longer supported
640f383
Update gqlparser dependency (#2694)5ac9fe5
Added flag to omit interface checks (#2689)abc3c627 feat: always use latest apollo sandbox (#2686)
feat: removeDuplicateTags() validates tags and panic with meaningful error message
Instead of pinning on _latest without subresource integrity check, update both url and integrity to latest
Update graphql/playground/apollo_sandbox_playground.go
3b295bb4 added GoInitialismsConfig which overrides the initialisms to be regarded (#2683)
added GoInitialismsConfig which overrides the initialisms to be regarded
typo
adjusted examples and documentation
removed test with side-effects, adjustend yaml indentations, changed example entry "ID" to "CC" (again? I though I already did that)
comply with linter
ee6add4
Refactor TypeIdentifier to avoid circular imports (#2682)44376e5
fix subscription example in documentation (#2677)d5080828 Reworked integration testing using vitest (#2675)
Reworked integration using vitest
Added SSE client testing
Fixed SSE Transport parse errors not being sent as event-stream
Added defer testing using urql
Cleanup unnecessary dependencies
d16f498f fix: issue with extraFields being thrown away (#2674)
fix: issue with extraFields being thrown away
Go fumpt on file
71d16aa
v0.17.33 postrelease bumpv0.17.33
Compare Source
a1e34ca
release v0.17.33790a72c1 issue-1372: add custom decode func (#2666)
issue-1372: add custom decode func
issue-1372: add custom decode method
issue-1372: fix lint
issue-1372: add custom decode func
issue-1372: add custom decode method
issue-1372: fix lint
issue-1372: extend functionality by setting up the whole decode config instead of one nested field
issue-1372: rollback generated.go file
issue-1372: fix lint
c63c60eb Update all modules (#2667)
Update all modules
Add gqlparser v2.5.3
4a78eb0c minor cleaning: fix some stricter lint rule warnings (#2665)
Add Changelog notes
Some spring cleaning
Update golangci-lint to latest
1e925f7
v0.17.32 postrelease bumpv0.17.32
Compare Source
3a81a78
release v0.17.32dbb6117
Added unit tests for defer (#2657)5c19c841 Addressing few issues in defer feature (#2656)
And fixed hasNext to only appear in the payload when there is deferred usage
Regenerate
Use go 1.18 compatible atomic operations
Regenerate
8e295024 Update extra fields type definition and plus docs about the feature (#2655)
Update extra fields type definition and plus docs about the feature
Update docs
adf5da27 Make usage of omitempty tag optional (#2649)
Make usage of omitempty tag optional
adding probably good enough test
some kinda docs
lintersssssssssssssssssssssssssssss
removing unnecessary fields from config
7ab3317
Extra fields (#2638)22deb8bd allow binding a GraphQL `Any` field to a struct method returning `*any` (#2644)
allow binding GQL
Any
field to struct method returning*any
add singlefile tests for binding to
*any
caseadd followschema tests for binding to
*any
casemake ptr_to_any binding tests follow binding conventions better
c313bf3d `[@defer](https://togithub.com/defer)` initial support (#2642)
support returning errors with deferred fragments.
update integration tests.
fix gotpl indent and pass the correct context to deferred .Dispatch().
Added hasNext in the tests
Added back root_.gotpl
Regenerate
Regenerate recursively
Updated schema-expected.graphql
Fixed starwars_test.go
Cleanup
Add graphql response hasnext omitempty and update tests to match
4d945da2 feat(federation): update Apollo Federation v2 definitions (#2635)
Fix Apollo Federation v2 directive definitions:
_FieldSet
was renamedFieldSet
regenerate examples
9796f91
Generate entity resolvers for interfaces with @key defined (#2634)33fdd1b5 fix enum capitalization (#2630)
fix enum capitalization
apply suggestion: adding comment
82a110ce Fix uint32 unmarshal (#2631)
The string unmarshal for uint32 used ParseInt instead of ParseUint,
which would parse the wrong range of valid numbers.
e62a027
Add Changelog entries for v0.17.31f707aa8
v0.17.31 postrelease bumpv0.17.31
Compare Source
37b2620
release v0.17.314016b2b
fix (#2628)5a81c3e
Remove other &&fde269c
Remove extraneous run47a5b33
Avoid && in command for retry4d8f850
Add timeout minutesc839b6c
Bandaid for flaky websocket tests395c362b New option to make comments on resolver optional (#2627)
remove 'foo' above resolver
regenerate after
6a38697
omit resolver template comment
re-generate
239b97e
Omittable input fields (#2585)2ad08fff Bugfix: add missing return statements in GRAPHQL and UrlEncodedForm transports. (#2625)
Two transports (GRAPHQL and UrlEncodedForm) did not have return
statement at the end of
if err
block. Instead of returninga 'could not cleanup body' error, we continued processing.
User still got an error. But instead of early 'could not cleanup'
error, user gor 'Internal system error' which happened a few
lines after the if block.
Tests are added.
a13eca1
update autogenerated gqlgen.yml with new options. (#2622)f1f63b5
Post Release Changelog entry81f3469
v0.17.30 postrelease bumpv0.17.30
Compare Source
4754e2b
release v0.17.30acd4b07f feat: gqlgen ver in generated file notice and entire file notice optional (#2617)
This commit allows the user of gqlgen to configure whether or not the
version of gqlgen used to generate the files is included in the
filenotice/comment header for generated files.
feat: filenotice in generated files optional
chore: rename config var for omit gqlgen ver in file notice
498ce3f
Add Changelog entry024430a
v0.17.29 postrelease bumpv0.17.29
Compare Source
325405b
release v0.17.297bc1f626 Read gqlgen.yml from io.Reader. (#2607)
Add ReadConfig
Add tests
Update config_test.go
remove extra space to fix lint checks
Need to return the config
50c2829c Transport for application/x-www-form-urlencoded content type (#2611)
There are multiple ways form data can be encoded. 'multipart' is
just one of them - there are also 'application/x-www-form-urlencoded'
(which will be added in next commit) and 'text/plain' encodings.
Let each encoding have it's own form_xxxx file and tests.
This commit adds transport that handles form POST with content
type set to 'application/x-www-form-urlencoded'.
Form body can be json, urlencoded parameters or plain text.
Example:
Enable it in your GQL server with:
No other changes but this rewrite to switch.
8b38c0e9 Add on-close handler for websockets. (#2612)
working without test
test
45488157 Transport for application/graphql contentType (#2592)
This commit adds 'application/graphql' transport. It is based
on POST metod and has only the 'query' part in it's body.
See: https://graphql.org/learn/serving-over-http/#post-request and
it's comment about this content-type.
An example of correct application/graphql query is:
Some clients prefix body with 'query=':
Some clients html encode body payload:
We cleanup both in cleanupBody() method.
Tests are in http_graphql_test.go file.
GRAPHQL transport (like GET, POST and MULTIPART transports) can
have specific response headers added.
This commit adds tests for it and changes doRequest() method
so that we can set inbound Content-Type. Graphql transport
uses 'application/graphql' content-type and not 'application/json'.
21054eb
Cleanup only non-gqlgen packages when reloading all packages (#2598)1c6bf9b
v0.17.28 postrelease bumpv0.17.28
Compare Source
f2b3465
release v0.17.28a1a6f23
Re-generate after #2599 (#2601)9a644c5
Fix 2546: Relax external for object (#2599)db534792 EntityResolver input type fix (#2594) (closes #2326)
the entity resolver may be in a different package (usually
model
).The fix is to pull the types.Type of the resolver input, and use
templates.CurrentImports.LookupType in order to render it correctly
(possibly adding another import)
change testdata/entityresolver/gqlgen.yml to use a dedicated package for
the model (as in the default sample yml), and run go generate.
before the input type fix, generation fails with errors like -
plugin/federation/testdata/entityresolver/generated/federation.go:338:17:
undeclared name: MultiHelloByNamesInput
plugin/federation/testdata/entityresolver/generated/federation.go:354:21:
undeclared name: MultiHelloMultipleRequiresByNamesInput
plugin/federation/testdata/entityresolver/generated/federation.go:362:17:
undeclared name: MultiHelloMultipleRequiresByNamesInput
6da735c
feat: removeDuplicateTags() validates tags and panic with meaningful error message (#2597)677d854a Allow setting headers in HTTP transports (#2590)
Currently gqlgen sets Content-Type header to 'application/json'. There's
no easy way to change it or add additional headers.
This commit adds struct variable ResponseHeaders that can hold any
headers you want to be returned with response. It is standard
map[string][]string
variable.If user does not set this map, we default to the Content-Type
header with 'application/json' value - nothing will be changed
for existing users.
Usage:
as simple as:
Added tests in transport/headers_test.go.
65ec8b5
Add Changelog entry for v0.17.27a3400ff
v0.17.27 postrelease bumpv0.17.27
Compare Source
5bfcdd6
release v0.17.27aab9b96
Revert mstephano #2486 #2508 #2528 (#2587)05500c9d POST transport: missing return and unnecessary logs (#2584)
Add missing return in HTTP POST transport
Remove HTTP POST transport logs
622039cb feat: support ApolloSandbox playground (#2581)
feat: support ApolloSandbox playground
add initialState to be same behavior as others
add docs link of configuration values
0bbc7f8
Add omitempty to struct tags for nullable types (#2436)acbae6f
Update Changelog for v0.17.26fbfa16e
v0.17.26 postrelease bumpv0.17.26
Compare Source
8ad5930
release v0.17.26dcd75559 Revert issue 2470 (#2577) (closes #2471, #2523, #2541)
This reverts commit
5cb6e3e
.cac5f0f
Post release version bump for examples9e9af41
Update Changeloga8f647c
v0.17.25 postrelease bumpv0.17.25
Compare Source
ea6a4e6
release v0.17.257e013e1
Freshen dependencies (#2571)c5dfc26b Update lru package (#2570)
update
Adjust example go mod and go sum
ff19a5a
fix typo in dataloaders docs example (#2562)a9e42e16 Move minimum supported version to Go 1.18 (#2556)
Move minimum supported version to Go 1.18
Update matrix to use strings instead of floats
Change test to match Go order
lint on Go 1.19 and Go 1.20
Attempt to limit github action concurrency
01d46b85 Bump undici from 5.14.0 to 5.19.1 in /integration (#2557)
Bumps undici from 5.14.0 to 5.19.1.
updated-dependencies:
dependency-type: indirect
...
e36095f
Updated the documentation on using the plugins (#2553)cf1607ad Add ability to customize resolvergen behavior using additional plugins (#2516)
Add ability to customize resolvergen behavior using additional plugins
Add field.GoResultName()
356f4f90 prepend goTag directive on struct tags and omit overridden duplicate struct tags per #2514 (#2533)
Change to prepend goTag directive
Fix test for field_hooks_are_applied to prepend
5b85e93e fix #2524 basic alias Byte was not binded properly (#2528)
49ac94f
fix introspection doc typo (#2529)e6114a2
remove extra call to packages.Load fix #2505 (#2519)9d22d98
Changelog for v0.17.242d048b3
v0.17.24 postrelease bumpConfiguration
📅 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.
This PR has been generated by Mend Renovate. View repository job log here.