From 4be05182092af4055e32d8fef10ce03d9d041422 Mon Sep 17 00:00:00 2001 From: Renovate Date: Wed, 1 Jan 2025 17:56:24 +0000 Subject: [PATCH] fix(deps): update module github.com/99designs/gqlgen to v0.17.62 --- go.mod | 2 +- go.sum | 4 +-- graph/generated/generated.go | 60 ++++++------------------------------ 3 files changed, 13 insertions(+), 53 deletions(-) diff --git a/go.mod b/go.mod index 7a8f267..806665e 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.22.5 toolchain go1.23.4 require ( - github.com/99designs/gqlgen v0.17.61 + github.com/99designs/gqlgen v0.17.62 github.com/Khan/genqlient v0.7.0 github.com/alecthomas/kong v1.6.0 github.com/apex/log v1.9.0 diff --git a/go.sum b/go.sum index 02b0840..cf10110 100644 --- a/go.sum +++ b/go.sum @@ -1,7 +1,7 @@ filippo.io/edwards25519 v1.1.0 h1:FNf4tywRC1HmFuKW5xopWpigGjJKiJSV0Cqo0cJWDaA= filippo.io/edwards25519 v1.1.0/go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4VDT4= -github.com/99designs/gqlgen v0.17.61 h1:vE7xLRC066n9wehgjeplILOWtwz75zbzcV2/Iv9i3pw= -github.com/99designs/gqlgen v0.17.61/go.mod h1:rFU1T3lhv/tPeAlww/DJ4ol2YxT/pPpue+xxPbkd3r4= +github.com/99designs/gqlgen v0.17.62 h1:Wovt1+XJN9dTWYh92537Y9a5FuMVSkrQL4bn0a8v5Rg= +github.com/99designs/gqlgen v0.17.62/go.mod h1:sVCM2iwIZisJjTI/DEC3fpH+HFgxY1496ZJ+jbT9IjA= github.com/DATA-DOG/go-sqlmock v1.5.2 h1:OcvFkGmslmlZibjAjaHm3L//6LiuBgolP7OputlJIzU= github.com/DATA-DOG/go-sqlmock v1.5.2/go.mod h1:88MAG/4G7SMwSE3CeA0ZKzrT5CiOU3OJ+JlNzwDqpNU= github.com/Khan/genqlient v0.7.0 h1:GZ1meyRnzcDTK48EjqB8t3bcfYvHArCUUvgOwpz1D4w= diff --git a/graph/generated/generated.go b/graph/generated/generated.go index 6e852c8..ea6c3f9 100644 --- a/graph/generated/generated.go +++ b/graph/generated/generated.go @@ -572,11 +572,7 @@ func (ec *executionContext) dir_auth_argsUser( ctx context.Context, rawArgs map[string]any, ) (*bool, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["user"] - if !ok { + if _, ok := rawArgs["user"]; !ok { var zeroVal *bool return zeroVal, nil } @@ -594,11 +590,7 @@ func (ec *executionContext) dir_auth_argsOrganization( ctx context.Context, rawArgs map[string]any, ) (*bool, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["organization"] - if !ok { + if _, ok := rawArgs["organization"]; !ok { var zeroVal *bool return zeroVal, nil } @@ -626,11 +618,7 @@ func (ec *executionContext) field_Mutation_addAPIKey_argsInput( ctx context.Context, rawArgs map[string]any, ) (*model.InputAPIKey, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["input"] - if !ok { + if _, ok := rawArgs["input"]; !ok { var zeroVal *model.InputAPIKey return zeroVal, nil } @@ -658,11 +646,7 @@ func (ec *executionContext) field_Mutation_addOrganization_argsName( ctx context.Context, rawArgs map[string]any, ) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["name"] - if !ok { + if _, ok := rawArgs["name"]; !ok { var zeroVal string return zeroVal, nil } @@ -690,11 +674,7 @@ func (ec *executionContext) field_Mutation_updateSubGraph_argsInput( ctx context.Context, rawArgs map[string]any, ) (model.InputSubGraph, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["input"] - if !ok { + if _, ok := rawArgs["input"]; !ok { var zeroVal model.InputSubGraph return zeroVal, nil } @@ -722,11 +702,7 @@ func (ec *executionContext) field_Query___type_argsName( ctx context.Context, rawArgs map[string]any, ) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["name"] - if !ok { + if _, ok := rawArgs["name"]; !ok { var zeroVal string return zeroVal, nil } @@ -759,11 +735,7 @@ func (ec *executionContext) field_Query_supergraph_argsRef( ctx context.Context, rawArgs map[string]any, ) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["ref"] - if !ok { + if _, ok := rawArgs["ref"]; !ok { var zeroVal string return zeroVal, nil } @@ -781,11 +753,7 @@ func (ec *executionContext) field_Query_supergraph_argsIsAfter( ctx context.Context, rawArgs map[string]any, ) (*string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["isAfter"] - if !ok { + if _, ok := rawArgs["isAfter"]; !ok { var zeroVal *string return zeroVal, nil } @@ -813,11 +781,7 @@ func (ec *executionContext) field___Type_enumValues_argsIncludeDeprecated( ctx context.Context, rawArgs map[string]any, ) (bool, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["includeDeprecated"] - if !ok { + if _, ok := rawArgs["includeDeprecated"]; !ok { var zeroVal bool return zeroVal, nil } @@ -845,11 +809,7 @@ func (ec *executionContext) field___Type_fields_argsIncludeDeprecated( ctx context.Context, rawArgs map[string]any, ) (bool, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["includeDeprecated"] - if !ok { + if _, ok := rawArgs["includeDeprecated"]; !ok { var zeroVal bool return zeroVal, nil }