fix(deps): update module github.com/99designs/gqlgen to v0.17.61
This commit is contained in:
@@ -5,7 +5,7 @@ go 1.22.5
|
||||
toolchain go1.23.4
|
||||
|
||||
require (
|
||||
github.com/99designs/gqlgen v0.17.60
|
||||
github.com/99designs/gqlgen v0.17.61
|
||||
github.com/Khan/genqlient v0.7.0
|
||||
github.com/alecthomas/kong v1.6.0
|
||||
github.com/apex/log v1.9.0
|
||||
|
||||
@@ -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.60 h1:xxl7kQDCNw79itzWQtCUSXgkovCyq9r+ogSXfZpKPYM=
|
||||
github.com/99designs/gqlgen v0.17.60/go.mod h1:vQJzWXyGya2TYL7cig1G4OaCQzyck031MgYBlUwaI9I=
|
||||
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/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=
|
||||
|
||||
+127
-127
@@ -45,7 +45,7 @@ type ResolverRoot interface {
|
||||
}
|
||||
|
||||
type DirectiveRoot struct {
|
||||
Auth func(ctx context.Context, obj interface{}, next graphql.Resolver, user *bool, organization *bool) (res interface{}, err error)
|
||||
Auth func(ctx context.Context, obj any, next graphql.Resolver, user *bool, organization *bool) (res any, err error)
|
||||
}
|
||||
|
||||
type ComplexityRoot struct {
|
||||
@@ -128,7 +128,7 @@ func (e *executableSchema) Schema() *ast.Schema {
|
||||
return parsedSchema
|
||||
}
|
||||
|
||||
func (e *executableSchema) Complexity(typeName, field string, childComplexity int, rawArgs map[string]interface{}) (int, bool) {
|
||||
func (e *executableSchema) Complexity(typeName, field string, childComplexity int, rawArgs map[string]any) (int, bool) {
|
||||
ec := executionContext{nil, e, 0, 0, nil}
|
||||
_ = ec
|
||||
switch typeName + "." + field {
|
||||
@@ -553,9 +553,9 @@ var parsedSchema = gqlparser.MustLoadSchema(sources...)
|
||||
|
||||
// region ***************************** args.gotpl *****************************
|
||||
|
||||
func (ec *executionContext) dir_auth_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
|
||||
func (ec *executionContext) dir_auth_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) {
|
||||
var err error
|
||||
args := map[string]interface{}{}
|
||||
args := map[string]any{}
|
||||
arg0, err := ec.dir_auth_argsUser(ctx, rawArgs)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -570,7 +570,7 @@ func (ec *executionContext) dir_auth_args(ctx context.Context, rawArgs map[strin
|
||||
}
|
||||
func (ec *executionContext) dir_auth_argsUser(
|
||||
ctx context.Context,
|
||||
rawArgs map[string]interface{},
|
||||
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
|
||||
@@ -592,7 +592,7 @@ func (ec *executionContext) dir_auth_argsUser(
|
||||
|
||||
func (ec *executionContext) dir_auth_argsOrganization(
|
||||
ctx context.Context,
|
||||
rawArgs map[string]interface{},
|
||||
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
|
||||
@@ -612,9 +612,9 @@ func (ec *executionContext) dir_auth_argsOrganization(
|
||||
return zeroVal, nil
|
||||
}
|
||||
|
||||
func (ec *executionContext) field_Mutation_addAPIKey_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
|
||||
func (ec *executionContext) field_Mutation_addAPIKey_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) {
|
||||
var err error
|
||||
args := map[string]interface{}{}
|
||||
args := map[string]any{}
|
||||
arg0, err := ec.field_Mutation_addAPIKey_argsInput(ctx, rawArgs)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -624,7 +624,7 @@ func (ec *executionContext) field_Mutation_addAPIKey_args(ctx context.Context, r
|
||||
}
|
||||
func (ec *executionContext) field_Mutation_addAPIKey_argsInput(
|
||||
ctx context.Context,
|
||||
rawArgs map[string]interface{},
|
||||
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
|
||||
@@ -644,9 +644,9 @@ func (ec *executionContext) field_Mutation_addAPIKey_argsInput(
|
||||
return zeroVal, nil
|
||||
}
|
||||
|
||||
func (ec *executionContext) field_Mutation_addOrganization_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
|
||||
func (ec *executionContext) field_Mutation_addOrganization_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) {
|
||||
var err error
|
||||
args := map[string]interface{}{}
|
||||
args := map[string]any{}
|
||||
arg0, err := ec.field_Mutation_addOrganization_argsName(ctx, rawArgs)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -656,7 +656,7 @@ func (ec *executionContext) field_Mutation_addOrganization_args(ctx context.Cont
|
||||
}
|
||||
func (ec *executionContext) field_Mutation_addOrganization_argsName(
|
||||
ctx context.Context,
|
||||
rawArgs map[string]interface{},
|
||||
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
|
||||
@@ -676,9 +676,9 @@ func (ec *executionContext) field_Mutation_addOrganization_argsName(
|
||||
return zeroVal, nil
|
||||
}
|
||||
|
||||
func (ec *executionContext) field_Mutation_updateSubGraph_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
|
||||
func (ec *executionContext) field_Mutation_updateSubGraph_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) {
|
||||
var err error
|
||||
args := map[string]interface{}{}
|
||||
args := map[string]any{}
|
||||
arg0, err := ec.field_Mutation_updateSubGraph_argsInput(ctx, rawArgs)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -688,7 +688,7 @@ func (ec *executionContext) field_Mutation_updateSubGraph_args(ctx context.Conte
|
||||
}
|
||||
func (ec *executionContext) field_Mutation_updateSubGraph_argsInput(
|
||||
ctx context.Context,
|
||||
rawArgs map[string]interface{},
|
||||
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
|
||||
@@ -708,9 +708,9 @@ func (ec *executionContext) field_Mutation_updateSubGraph_argsInput(
|
||||
return zeroVal, nil
|
||||
}
|
||||
|
||||
func (ec *executionContext) field_Query___type_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
|
||||
func (ec *executionContext) field_Query___type_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) {
|
||||
var err error
|
||||
args := map[string]interface{}{}
|
||||
args := map[string]any{}
|
||||
arg0, err := ec.field_Query___type_argsName(ctx, rawArgs)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -720,7 +720,7 @@ func (ec *executionContext) field_Query___type_args(ctx context.Context, rawArgs
|
||||
}
|
||||
func (ec *executionContext) field_Query___type_argsName(
|
||||
ctx context.Context,
|
||||
rawArgs map[string]interface{},
|
||||
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
|
||||
@@ -740,9 +740,9 @@ func (ec *executionContext) field_Query___type_argsName(
|
||||
return zeroVal, nil
|
||||
}
|
||||
|
||||
func (ec *executionContext) field_Query_supergraph_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
|
||||
func (ec *executionContext) field_Query_supergraph_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) {
|
||||
var err error
|
||||
args := map[string]interface{}{}
|
||||
args := map[string]any{}
|
||||
arg0, err := ec.field_Query_supergraph_argsRef(ctx, rawArgs)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -757,7 +757,7 @@ func (ec *executionContext) field_Query_supergraph_args(ctx context.Context, raw
|
||||
}
|
||||
func (ec *executionContext) field_Query_supergraph_argsRef(
|
||||
ctx context.Context,
|
||||
rawArgs map[string]interface{},
|
||||
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
|
||||
@@ -779,7 +779,7 @@ func (ec *executionContext) field_Query_supergraph_argsRef(
|
||||
|
||||
func (ec *executionContext) field_Query_supergraph_argsIsAfter(
|
||||
ctx context.Context,
|
||||
rawArgs map[string]interface{},
|
||||
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
|
||||
@@ -799,9 +799,9 @@ func (ec *executionContext) field_Query_supergraph_argsIsAfter(
|
||||
return zeroVal, nil
|
||||
}
|
||||
|
||||
func (ec *executionContext) field___Type_enumValues_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
|
||||
func (ec *executionContext) field___Type_enumValues_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) {
|
||||
var err error
|
||||
args := map[string]interface{}{}
|
||||
args := map[string]any{}
|
||||
arg0, err := ec.field___Type_enumValues_argsIncludeDeprecated(ctx, rawArgs)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -811,7 +811,7 @@ func (ec *executionContext) field___Type_enumValues_args(ctx context.Context, ra
|
||||
}
|
||||
func (ec *executionContext) field___Type_enumValues_argsIncludeDeprecated(
|
||||
ctx context.Context,
|
||||
rawArgs map[string]interface{},
|
||||
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
|
||||
@@ -831,9 +831,9 @@ func (ec *executionContext) field___Type_enumValues_argsIncludeDeprecated(
|
||||
return zeroVal, nil
|
||||
}
|
||||
|
||||
func (ec *executionContext) field___Type_fields_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
|
||||
func (ec *executionContext) field___Type_fields_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) {
|
||||
var err error
|
||||
args := map[string]interface{}{}
|
||||
args := map[string]any{}
|
||||
arg0, err := ec.field___Type_fields_argsIncludeDeprecated(ctx, rawArgs)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -843,7 +843,7 @@ func (ec *executionContext) field___Type_fields_args(ctx context.Context, rawArg
|
||||
}
|
||||
func (ec *executionContext) field___Type_fields_argsIncludeDeprecated(
|
||||
ctx context.Context,
|
||||
rawArgs map[string]interface{},
|
||||
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
|
||||
@@ -883,7 +883,7 @@ func (ec *executionContext) _APIKey_id(ctx context.Context, field graphql.Collec
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.ID, nil
|
||||
})
|
||||
@@ -927,7 +927,7 @@ func (ec *executionContext) _APIKey_name(ctx context.Context, field graphql.Coll
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.Name, nil
|
||||
})
|
||||
@@ -971,7 +971,7 @@ func (ec *executionContext) _APIKey_key(ctx context.Context, field graphql.Colle
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.Key, nil
|
||||
})
|
||||
@@ -1012,7 +1012,7 @@ func (ec *executionContext) _APIKey_organization(ctx context.Context, field grap
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.Organization, nil
|
||||
})
|
||||
@@ -1066,7 +1066,7 @@ func (ec *executionContext) _APIKey_refs(ctx context.Context, field graphql.Coll
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.Refs, nil
|
||||
})
|
||||
@@ -1110,7 +1110,7 @@ func (ec *executionContext) _APIKey_read(ctx context.Context, field graphql.Coll
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.Read, nil
|
||||
})
|
||||
@@ -1154,7 +1154,7 @@ func (ec *executionContext) _APIKey_publish(ctx context.Context, field graphql.C
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.Publish, nil
|
||||
})
|
||||
@@ -1198,13 +1198,13 @@ func (ec *executionContext) _Mutation_addOrganization(ctx context.Context, field
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
directive0 := func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
directive0 := func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return ec.resolvers.Mutation().AddOrganization(rctx, fc.Args["name"].(string))
|
||||
}
|
||||
|
||||
directive1 := func(ctx context.Context) (interface{}, error) {
|
||||
directive1 := func(ctx context.Context) (any, error) {
|
||||
user, err := ec.unmarshalOBoolean2ᚖbool(ctx, true)
|
||||
if err != nil {
|
||||
var zeroVal *model.Organization
|
||||
@@ -1290,13 +1290,13 @@ func (ec *executionContext) _Mutation_addAPIKey(ctx context.Context, field graph
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
directive0 := func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
directive0 := func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return ec.resolvers.Mutation().AddAPIKey(rctx, fc.Args["input"].(*model.InputAPIKey))
|
||||
}
|
||||
|
||||
directive1 := func(ctx context.Context) (interface{}, error) {
|
||||
directive1 := func(ctx context.Context) (any, error) {
|
||||
user, err := ec.unmarshalOBoolean2ᚖbool(ctx, true)
|
||||
if err != nil {
|
||||
var zeroVal *model.APIKey
|
||||
@@ -1388,13 +1388,13 @@ func (ec *executionContext) _Mutation_updateSubGraph(ctx context.Context, field
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
directive0 := func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
directive0 := func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return ec.resolvers.Mutation().UpdateSubGraph(rctx, fc.Args["input"].(model.InputSubGraph))
|
||||
}
|
||||
|
||||
directive1 := func(ctx context.Context) (interface{}, error) {
|
||||
directive1 := func(ctx context.Context) (any, error) {
|
||||
organization, err := ec.unmarshalOBoolean2ᚖbool(ctx, true)
|
||||
if err != nil {
|
||||
var zeroVal *model.SubGraph
|
||||
@@ -1486,7 +1486,7 @@ func (ec *executionContext) _Organization_id(ctx context.Context, field graphql.
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.ID, nil
|
||||
})
|
||||
@@ -1530,7 +1530,7 @@ func (ec *executionContext) _Organization_name(ctx context.Context, field graphq
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.Name, nil
|
||||
})
|
||||
@@ -1574,7 +1574,7 @@ func (ec *executionContext) _Organization_users(ctx context.Context, field graph
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.Users, nil
|
||||
})
|
||||
@@ -1622,7 +1622,7 @@ func (ec *executionContext) _Organization_apiKeys(ctx context.Context, field gra
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.APIKeys, nil
|
||||
})
|
||||
@@ -1682,13 +1682,13 @@ func (ec *executionContext) _Query_organizations(ctx context.Context, field grap
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
directive0 := func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
directive0 := func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return ec.resolvers.Query().Organizations(rctx)
|
||||
}
|
||||
|
||||
directive1 := func(ctx context.Context) (interface{}, error) {
|
||||
directive1 := func(ctx context.Context) (any, error) {
|
||||
user, err := ec.unmarshalOBoolean2ᚖbool(ctx, true)
|
||||
if err != nil {
|
||||
var zeroVal []*model.Organization
|
||||
@@ -1763,13 +1763,13 @@ func (ec *executionContext) _Query_supergraph(ctx context.Context, field graphql
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
directive0 := func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
directive0 := func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return ec.resolvers.Query().Supergraph(rctx, fc.Args["ref"].(string), fc.Args["isAfter"].(*string))
|
||||
}
|
||||
|
||||
directive1 := func(ctx context.Context) (interface{}, error) {
|
||||
directive1 := func(ctx context.Context) (any, error) {
|
||||
organization, err := ec.unmarshalOBoolean2ᚖbool(ctx, true)
|
||||
if err != nil {
|
||||
var zeroVal model.Supergraph
|
||||
@@ -1845,7 +1845,7 @@ func (ec *executionContext) _Query___type(ctx context.Context, field graphql.Col
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return ec.introspectType(fc.Args["name"].(string))
|
||||
})
|
||||
@@ -1919,7 +1919,7 @@ func (ec *executionContext) _Query___schema(ctx context.Context, field graphql.C
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return ec.introspectSchema()
|
||||
})
|
||||
@@ -1974,7 +1974,7 @@ func (ec *executionContext) _SubGraph_id(ctx context.Context, field graphql.Coll
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.ID, nil
|
||||
})
|
||||
@@ -2018,7 +2018,7 @@ func (ec *executionContext) _SubGraph_service(ctx context.Context, field graphql
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.Service, nil
|
||||
})
|
||||
@@ -2062,7 +2062,7 @@ func (ec *executionContext) _SubGraph_url(ctx context.Context, field graphql.Col
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.URL, nil
|
||||
})
|
||||
@@ -2103,7 +2103,7 @@ func (ec *executionContext) _SubGraph_wsUrl(ctx context.Context, field graphql.C
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.WsURL, nil
|
||||
})
|
||||
@@ -2144,7 +2144,7 @@ func (ec *executionContext) _SubGraph_sdl(ctx context.Context, field graphql.Col
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.Sdl, nil
|
||||
})
|
||||
@@ -2188,7 +2188,7 @@ func (ec *executionContext) _SubGraph_changedBy(ctx context.Context, field graph
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.ChangedBy, nil
|
||||
})
|
||||
@@ -2232,7 +2232,7 @@ func (ec *executionContext) _SubGraph_changedAt(ctx context.Context, field graph
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.ChangedAt, nil
|
||||
})
|
||||
@@ -2276,7 +2276,7 @@ func (ec *executionContext) _SubGraphs_id(ctx context.Context, field graphql.Col
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.ID, nil
|
||||
})
|
||||
@@ -2320,7 +2320,7 @@ func (ec *executionContext) _SubGraphs_minDelaySeconds(ctx context.Context, fiel
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.MinDelaySeconds, nil
|
||||
})
|
||||
@@ -2364,7 +2364,7 @@ func (ec *executionContext) _SubGraphs_sdl(ctx context.Context, field graphql.Co
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.Sdl, nil
|
||||
})
|
||||
@@ -2408,7 +2408,7 @@ func (ec *executionContext) _SubGraphs_subGraphs(ctx context.Context, field grap
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.SubGraphs, nil
|
||||
})
|
||||
@@ -2468,7 +2468,7 @@ func (ec *executionContext) _Unchanged_id(ctx context.Context, field graphql.Col
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.ID, nil
|
||||
})
|
||||
@@ -2512,7 +2512,7 @@ func (ec *executionContext) _Unchanged_minDelaySeconds(ctx context.Context, fiel
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.MinDelaySeconds, nil
|
||||
})
|
||||
@@ -2556,7 +2556,7 @@ func (ec *executionContext) _User_id(ctx context.Context, field graphql.Collecte
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.ID, nil
|
||||
})
|
||||
@@ -2600,7 +2600,7 @@ func (ec *executionContext) ___Directive_name(ctx context.Context, field graphql
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.Name, nil
|
||||
})
|
||||
@@ -2644,7 +2644,7 @@ func (ec *executionContext) ___Directive_description(ctx context.Context, field
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.Description(), nil
|
||||
})
|
||||
@@ -2685,7 +2685,7 @@ func (ec *executionContext) ___Directive_locations(ctx context.Context, field gr
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.Locations, nil
|
||||
})
|
||||
@@ -2729,7 +2729,7 @@ func (ec *executionContext) ___Directive_args(ctx context.Context, field graphql
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.Args, nil
|
||||
})
|
||||
@@ -2783,7 +2783,7 @@ func (ec *executionContext) ___Directive_isRepeatable(ctx context.Context, field
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.IsRepeatable, nil
|
||||
})
|
||||
@@ -2827,7 +2827,7 @@ func (ec *executionContext) ___EnumValue_name(ctx context.Context, field graphql
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.Name, nil
|
||||
})
|
||||
@@ -2871,7 +2871,7 @@ func (ec *executionContext) ___EnumValue_description(ctx context.Context, field
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.Description(), nil
|
||||
})
|
||||
@@ -2912,7 +2912,7 @@ func (ec *executionContext) ___EnumValue_isDeprecated(ctx context.Context, field
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.IsDeprecated(), nil
|
||||
})
|
||||
@@ -2956,7 +2956,7 @@ func (ec *executionContext) ___EnumValue_deprecationReason(ctx context.Context,
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.DeprecationReason(), nil
|
||||
})
|
||||
@@ -2997,7 +2997,7 @@ func (ec *executionContext) ___Field_name(ctx context.Context, field graphql.Col
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.Name, nil
|
||||
})
|
||||
@@ -3041,7 +3041,7 @@ func (ec *executionContext) ___Field_description(ctx context.Context, field grap
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.Description(), nil
|
||||
})
|
||||
@@ -3082,7 +3082,7 @@ func (ec *executionContext) ___Field_args(ctx context.Context, field graphql.Col
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.Args, nil
|
||||
})
|
||||
@@ -3136,7 +3136,7 @@ func (ec *executionContext) ___Field_type(ctx context.Context, field graphql.Col
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.Type, nil
|
||||
})
|
||||
@@ -3202,7 +3202,7 @@ func (ec *executionContext) ___Field_isDeprecated(ctx context.Context, field gra
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.IsDeprecated(), nil
|
||||
})
|
||||
@@ -3246,7 +3246,7 @@ func (ec *executionContext) ___Field_deprecationReason(ctx context.Context, fiel
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.DeprecationReason(), nil
|
||||
})
|
||||
@@ -3287,7 +3287,7 @@ func (ec *executionContext) ___InputValue_name(ctx context.Context, field graphq
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.Name, nil
|
||||
})
|
||||
@@ -3331,7 +3331,7 @@ func (ec *executionContext) ___InputValue_description(ctx context.Context, field
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.Description(), nil
|
||||
})
|
||||
@@ -3372,7 +3372,7 @@ func (ec *executionContext) ___InputValue_type(ctx context.Context, field graphq
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.Type, nil
|
||||
})
|
||||
@@ -3438,7 +3438,7 @@ func (ec *executionContext) ___InputValue_defaultValue(ctx context.Context, fiel
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.DefaultValue, nil
|
||||
})
|
||||
@@ -3479,7 +3479,7 @@ func (ec *executionContext) ___Schema_description(ctx context.Context, field gra
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.Description(), nil
|
||||
})
|
||||
@@ -3520,7 +3520,7 @@ func (ec *executionContext) ___Schema_types(ctx context.Context, field graphql.C
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.Types(), nil
|
||||
})
|
||||
@@ -3586,7 +3586,7 @@ func (ec *executionContext) ___Schema_queryType(ctx context.Context, field graph
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.QueryType(), nil
|
||||
})
|
||||
@@ -3652,7 +3652,7 @@ func (ec *executionContext) ___Schema_mutationType(ctx context.Context, field gr
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.MutationType(), nil
|
||||
})
|
||||
@@ -3715,7 +3715,7 @@ func (ec *executionContext) ___Schema_subscriptionType(ctx context.Context, fiel
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.SubscriptionType(), nil
|
||||
})
|
||||
@@ -3778,7 +3778,7 @@ func (ec *executionContext) ___Schema_directives(ctx context.Context, field grap
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.Directives(), nil
|
||||
})
|
||||
@@ -3834,7 +3834,7 @@ func (ec *executionContext) ___Type_kind(ctx context.Context, field graphql.Coll
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.Kind(), nil
|
||||
})
|
||||
@@ -3878,7 +3878,7 @@ func (ec *executionContext) ___Type_name(ctx context.Context, field graphql.Coll
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.Name(), nil
|
||||
})
|
||||
@@ -3919,7 +3919,7 @@ func (ec *executionContext) ___Type_description(ctx context.Context, field graph
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.Description(), nil
|
||||
})
|
||||
@@ -3960,7 +3960,7 @@ func (ec *executionContext) ___Type_fields(ctx context.Context, field graphql.Co
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.Fields(fc.Args["includeDeprecated"].(bool)), nil
|
||||
})
|
||||
@@ -4026,7 +4026,7 @@ func (ec *executionContext) ___Type_interfaces(ctx context.Context, field graphq
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.Interfaces(), nil
|
||||
})
|
||||
@@ -4089,7 +4089,7 @@ func (ec *executionContext) ___Type_possibleTypes(ctx context.Context, field gra
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.PossibleTypes(), nil
|
||||
})
|
||||
@@ -4152,7 +4152,7 @@ func (ec *executionContext) ___Type_enumValues(ctx context.Context, field graphq
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.EnumValues(fc.Args["includeDeprecated"].(bool)), nil
|
||||
})
|
||||
@@ -4214,7 +4214,7 @@ func (ec *executionContext) ___Type_inputFields(ctx context.Context, field graph
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.InputFields(), nil
|
||||
})
|
||||
@@ -4265,7 +4265,7 @@ func (ec *executionContext) ___Type_ofType(ctx context.Context, field graphql.Co
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.OfType(), nil
|
||||
})
|
||||
@@ -4328,7 +4328,7 @@ func (ec *executionContext) ___Type_specifiedByURL(ctx context.Context, field gr
|
||||
ret = graphql.Null
|
||||
}
|
||||
}()
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
|
||||
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
|
||||
ctx = rctx // use context from middleware stack in children
|
||||
return obj.SpecifiedByURL(), nil
|
||||
})
|
||||
@@ -4361,10 +4361,10 @@ func (ec *executionContext) fieldContext___Type_specifiedByURL(_ context.Context
|
||||
|
||||
// region **************************** input.gotpl *****************************
|
||||
|
||||
func (ec *executionContext) unmarshalInputInputAPIKey(ctx context.Context, obj interface{}) (model.InputAPIKey, error) {
|
||||
func (ec *executionContext) unmarshalInputInputAPIKey(ctx context.Context, obj any) (model.InputAPIKey, error) {
|
||||
var it model.InputAPIKey
|
||||
asMap := map[string]interface{}{}
|
||||
for k, v := range obj.(map[string]interface{}) {
|
||||
asMap := map[string]any{}
|
||||
for k, v := range obj.(map[string]any) {
|
||||
asMap[k] = v
|
||||
}
|
||||
|
||||
@@ -4416,10 +4416,10 @@ func (ec *executionContext) unmarshalInputInputAPIKey(ctx context.Context, obj i
|
||||
return it, nil
|
||||
}
|
||||
|
||||
func (ec *executionContext) unmarshalInputInputSubGraph(ctx context.Context, obj interface{}) (model.InputSubGraph, error) {
|
||||
func (ec *executionContext) unmarshalInputInputSubGraph(ctx context.Context, obj any) (model.InputSubGraph, error) {
|
||||
var it model.InputSubGraph
|
||||
asMap := map[string]interface{}{}
|
||||
for k, v := range obj.(map[string]interface{}) {
|
||||
asMap := map[string]any{}
|
||||
for k, v := range obj.(map[string]any) {
|
||||
asMap[k] = v
|
||||
}
|
||||
|
||||
@@ -5363,7 +5363,7 @@ func (ec *executionContext) marshalNAPIKey2ᚖgitlabᚗcomᚋunboundsoftwareᚋs
|
||||
return ec._APIKey(ctx, sel, v)
|
||||
}
|
||||
|
||||
func (ec *executionContext) unmarshalNBoolean2bool(ctx context.Context, v interface{}) (bool, error) {
|
||||
func (ec *executionContext) unmarshalNBoolean2bool(ctx context.Context, v any) (bool, error) {
|
||||
res, err := graphql.UnmarshalBoolean(v)
|
||||
return res, graphql.ErrorOnPath(ctx, err)
|
||||
}
|
||||
@@ -5378,7 +5378,7 @@ func (ec *executionContext) marshalNBoolean2bool(ctx context.Context, sel ast.Se
|
||||
return res
|
||||
}
|
||||
|
||||
func (ec *executionContext) unmarshalNID2string(ctx context.Context, v interface{}) (string, error) {
|
||||
func (ec *executionContext) unmarshalNID2string(ctx context.Context, v any) (string, error) {
|
||||
res, err := graphql.UnmarshalID(v)
|
||||
return res, graphql.ErrorOnPath(ctx, err)
|
||||
}
|
||||
@@ -5393,12 +5393,12 @@ func (ec *executionContext) marshalNID2string(ctx context.Context, sel ast.Selec
|
||||
return res
|
||||
}
|
||||
|
||||
func (ec *executionContext) unmarshalNInputSubGraph2gitlabᚗcomᚋunboundsoftwareᚋschemasᚋgraphᚋmodelᚐInputSubGraph(ctx context.Context, v interface{}) (model.InputSubGraph, error) {
|
||||
func (ec *executionContext) unmarshalNInputSubGraph2gitlabᚗcomᚋunboundsoftwareᚋschemasᚋgraphᚋmodelᚐInputSubGraph(ctx context.Context, v any) (model.InputSubGraph, error) {
|
||||
res, err := ec.unmarshalInputInputSubGraph(ctx, v)
|
||||
return res, graphql.ErrorOnPath(ctx, err)
|
||||
}
|
||||
|
||||
func (ec *executionContext) unmarshalNInt2int(ctx context.Context, v interface{}) (int, error) {
|
||||
func (ec *executionContext) unmarshalNInt2int(ctx context.Context, v any) (int, error) {
|
||||
res, err := graphql.UnmarshalInt(v)
|
||||
return res, graphql.ErrorOnPath(ctx, err)
|
||||
}
|
||||
@@ -5471,7 +5471,7 @@ func (ec *executionContext) marshalNOrganization2ᚖgitlabᚗcomᚋunboundsoftwa
|
||||
return ec._Organization(ctx, sel, v)
|
||||
}
|
||||
|
||||
func (ec *executionContext) unmarshalNString2string(ctx context.Context, v interface{}) (string, error) {
|
||||
func (ec *executionContext) unmarshalNString2string(ctx context.Context, v any) (string, error) {
|
||||
res, err := graphql.UnmarshalString(v)
|
||||
return res, graphql.ErrorOnPath(ctx, err)
|
||||
}
|
||||
@@ -5486,8 +5486,8 @@ func (ec *executionContext) marshalNString2string(ctx context.Context, sel ast.S
|
||||
return res
|
||||
}
|
||||
|
||||
func (ec *executionContext) unmarshalNString2ᚕstringᚄ(ctx context.Context, v interface{}) ([]string, error) {
|
||||
var vSlice []interface{}
|
||||
func (ec *executionContext) unmarshalNString2ᚕstringᚄ(ctx context.Context, v any) ([]string, error) {
|
||||
var vSlice []any
|
||||
if v != nil {
|
||||
vSlice = graphql.CoerceList(v)
|
||||
}
|
||||
@@ -5586,7 +5586,7 @@ func (ec *executionContext) marshalNSupergraph2gitlabᚗcomᚋunboundsoftwareᚋ
|
||||
return ec._Supergraph(ctx, sel, v)
|
||||
}
|
||||
|
||||
func (ec *executionContext) unmarshalNTime2timeᚐTime(ctx context.Context, v interface{}) (time.Time, error) {
|
||||
func (ec *executionContext) unmarshalNTime2timeᚐTime(ctx context.Context, v any) (time.Time, error) {
|
||||
res, err := graphql.UnmarshalTime(v)
|
||||
return res, graphql.ErrorOnPath(ctx, err)
|
||||
}
|
||||
@@ -5703,7 +5703,7 @@ func (ec *executionContext) marshalN__Directive2ᚕgithubᚗcomᚋ99designsᚋgq
|
||||
return ret
|
||||
}
|
||||
|
||||
func (ec *executionContext) unmarshalN__DirectiveLocation2string(ctx context.Context, v interface{}) (string, error) {
|
||||
func (ec *executionContext) unmarshalN__DirectiveLocation2string(ctx context.Context, v any) (string, error) {
|
||||
res, err := graphql.UnmarshalString(v)
|
||||
return res, graphql.ErrorOnPath(ctx, err)
|
||||
}
|
||||
@@ -5718,8 +5718,8 @@ func (ec *executionContext) marshalN__DirectiveLocation2string(ctx context.Conte
|
||||
return res
|
||||
}
|
||||
|
||||
func (ec *executionContext) unmarshalN__DirectiveLocation2ᚕstringᚄ(ctx context.Context, v interface{}) ([]string, error) {
|
||||
var vSlice []interface{}
|
||||
func (ec *executionContext) unmarshalN__DirectiveLocation2ᚕstringᚄ(ctx context.Context, v any) ([]string, error) {
|
||||
var vSlice []any
|
||||
if v != nil {
|
||||
vSlice = graphql.CoerceList(v)
|
||||
}
|
||||
@@ -5893,7 +5893,7 @@ func (ec *executionContext) marshalN__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgen
|
||||
return ec.___Type(ctx, sel, v)
|
||||
}
|
||||
|
||||
func (ec *executionContext) unmarshalN__TypeKind2string(ctx context.Context, v interface{}) (string, error) {
|
||||
func (ec *executionContext) unmarshalN__TypeKind2string(ctx context.Context, v any) (string, error) {
|
||||
res, err := graphql.UnmarshalString(v)
|
||||
return res, graphql.ErrorOnPath(ctx, err)
|
||||
}
|
||||
@@ -5908,7 +5908,7 @@ func (ec *executionContext) marshalN__TypeKind2string(ctx context.Context, sel a
|
||||
return res
|
||||
}
|
||||
|
||||
func (ec *executionContext) unmarshalOBoolean2bool(ctx context.Context, v interface{}) (bool, error) {
|
||||
func (ec *executionContext) unmarshalOBoolean2bool(ctx context.Context, v any) (bool, error) {
|
||||
res, err := graphql.UnmarshalBoolean(v)
|
||||
return res, graphql.ErrorOnPath(ctx, err)
|
||||
}
|
||||
@@ -5918,7 +5918,7 @@ func (ec *executionContext) marshalOBoolean2bool(ctx context.Context, sel ast.Se
|
||||
return res
|
||||
}
|
||||
|
||||
func (ec *executionContext) unmarshalOBoolean2ᚖbool(ctx context.Context, v interface{}) (*bool, error) {
|
||||
func (ec *executionContext) unmarshalOBoolean2ᚖbool(ctx context.Context, v any) (*bool, error) {
|
||||
if v == nil {
|
||||
return nil, nil
|
||||
}
|
||||
@@ -5934,7 +5934,7 @@ func (ec *executionContext) marshalOBoolean2ᚖbool(ctx context.Context, sel ast
|
||||
return res
|
||||
}
|
||||
|
||||
func (ec *executionContext) unmarshalOInputAPIKey2ᚖgitlabᚗcomᚋunboundsoftwareᚋschemasᚋgraphᚋmodelᚐInputAPIKey(ctx context.Context, v interface{}) (*model.InputAPIKey, error) {
|
||||
func (ec *executionContext) unmarshalOInputAPIKey2ᚖgitlabᚗcomᚋunboundsoftwareᚋschemasᚋgraphᚋmodelᚐInputAPIKey(ctx context.Context, v any) (*model.InputAPIKey, error) {
|
||||
if v == nil {
|
||||
return nil, nil
|
||||
}
|
||||
@@ -5942,7 +5942,7 @@ func (ec *executionContext) unmarshalOInputAPIKey2ᚖgitlabᚗcomᚋunboundsoftw
|
||||
return &res, graphql.ErrorOnPath(ctx, err)
|
||||
}
|
||||
|
||||
func (ec *executionContext) unmarshalOString2ᚖstring(ctx context.Context, v interface{}) (*string, error) {
|
||||
func (ec *executionContext) unmarshalOString2ᚖstring(ctx context.Context, v any) (*string, error) {
|
||||
if v == nil {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user