Compare commits

..
1 Commits
Author SHA1 Message Date
renovate 7526302d4d fix(deps): update module github.com/99designs/gqlgen to v0.17.98
renovate/stability-days Updates have met minimum release age requirement
schemas / vulnerabilities (pull_request) Successful in 33s
schemas / check (pull_request) Successful in 1m29s
schemas / check-release (pull_request) Successful in 1m0s
pre-commit / pre-commit (pull_request) Successful in 2m35s
schemas / build (pull_request) Successful in 4m53s
schemas / deploy-prod-frostmoln (pull_request) Skipped
2026-10-26 10:46:48 +00:00
+49 -20
View File
@@ -1032,8 +1032,8 @@ func (ec *executionContext) field___Directive_args_args(ctx context.Context, raw
var err error var err error
args := map[string]any{} args := map[string]any{}
arg0, err := graphql.ProcessArgField(ctx, rawArgs, "includeDeprecated", arg0, err := graphql.ProcessArgField(ctx, rawArgs, "includeDeprecated",
func(ctx context.Context, v any) (*bool, error) { func(ctx context.Context, v any) (bool, error) {
return ec.unmarshalOBoolean2ᚖbool(ctx, v) return ec.unmarshalOBoolean2bool(ctx, v)
}) })
if err != nil { if err != nil {
return nil, err return nil, err
@@ -1046,8 +1046,8 @@ func (ec *executionContext) field___Field_args_args(ctx context.Context, rawArgs
var err error var err error
args := map[string]any{} args := map[string]any{}
arg0, err := graphql.ProcessArgField(ctx, rawArgs, "includeDeprecated", arg0, err := graphql.ProcessArgField(ctx, rawArgs, "includeDeprecated",
func(ctx context.Context, v any) (*bool, error) { func(ctx context.Context, v any) (bool, error) {
return ec.unmarshalOBoolean2ᚖbool(ctx, v) return ec.unmarshalOBoolean2bool(ctx, v)
}) })
if err != nil { if err != nil {
return nil, err return nil, err
@@ -1084,6 +1084,20 @@ func (ec *executionContext) field___Type_fields_args(ctx context.Context, rawArg
return args, nil return args, nil
} }
func (ec *executionContext) field___Type_inputFields_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) {
var err error
args := map[string]any{}
arg0, err := graphql.ProcessArgField(ctx, rawArgs, "includeDeprecated",
func(ctx context.Context, v any) (bool, error) {
return ec.unmarshalOBoolean2bool(ctx, v)
})
if err != nil {
return nil, err
}
args["includeDeprecated"] = arg0
return args, nil
}
// endregion ***************************** args.gotpl ***************************** // endregion ***************************** args.gotpl *****************************
// region **************************** field.gotpl ***************************** // region **************************** field.gotpl *****************************
@@ -2031,10 +2045,10 @@ func (ec *executionContext) _Query___schema(ctx context.Context, field graphql.C
}, },
nil, nil,
func(ctx context.Context, selections ast.SelectionSet, v *introspection.Schema) graphql.Marshaler { func(ctx context.Context, selections ast.SelectionSet, v *introspection.Schema) graphql.Marshaler {
return ec.marshalO__Schema2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐSchema(ctx, selections, v) return ec.marshalN__Schema2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐSchema(ctx, selections, v)
}, },
true, true,
false, true,
) )
} }
func (ec *executionContext) fieldContext_Query___schema(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { func (ec *executionContext) fieldContext_Query___schema(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
@@ -2645,7 +2659,8 @@ func (ec *executionContext) ___Directive_args(ctx context.Context, field graphql
return ec.fieldContext___Directive_args(ctx, field) return ec.fieldContext___Directive_args(ctx, field)
}, },
func(ctx context.Context) (any, error) { func(ctx context.Context) (any, error) {
return obj.Args, nil fc := graphql.GetFieldContext(ctx)
return obj.VisibleArgs(fc.Args["includeDeprecated"].(bool)), nil
}, },
nil, nil,
func(ctx context.Context, selections ast.SelectionSet, v []introspection.InputValue) graphql.Marshaler { func(ctx context.Context, selections ast.SelectionSet, v []introspection.InputValue) graphql.Marshaler {
@@ -2659,7 +2674,7 @@ func (ec *executionContext) fieldContext___Directive_args(ctx context.Context, f
fc = &graphql.FieldContext{ fc = &graphql.FieldContext{
Object: "__Directive", Object: "__Directive",
Field: field, Field: field,
IsMethod: false, IsMethod: true,
IsResolver: false, IsResolver: false,
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
return ec.childFields___InputValue(ctx, field) return ec.childFields___InputValue(ctx, field)
@@ -2826,7 +2841,8 @@ func (ec *executionContext) ___Field_args(ctx context.Context, field graphql.Col
return ec.fieldContext___Field_args(ctx, field) return ec.fieldContext___Field_args(ctx, field)
}, },
func(ctx context.Context) (any, error) { func(ctx context.Context) (any, error) {
return obj.Args, nil fc := graphql.GetFieldContext(ctx)
return obj.VisibleArgs(fc.Args["includeDeprecated"].(bool)), nil
}, },
nil, nil,
func(ctx context.Context, selections ast.SelectionSet, v []introspection.InputValue) graphql.Marshaler { func(ctx context.Context, selections ast.SelectionSet, v []introspection.InputValue) graphql.Marshaler {
@@ -2840,7 +2856,7 @@ func (ec *executionContext) fieldContext___Field_args(ctx context.Context, field
fc = &graphql.FieldContext{ fc = &graphql.FieldContext{
Object: "__Field", Object: "__Field",
Field: field, Field: field,
IsMethod: false, IsMethod: true,
IsResolver: false, IsResolver: false,
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
return ec.childFields___InputValue(ctx, field) return ec.childFields___InputValue(ctx, field)
@@ -3521,7 +3537,8 @@ func (ec *executionContext) ___Type_inputFields(ctx context.Context, field graph
return ec.fieldContext___Type_inputFields(ctx, field) return ec.fieldContext___Type_inputFields(ctx, field)
}, },
func(ctx context.Context) (any, error) { func(ctx context.Context) (any, error) {
return obj.InputFields(), nil fc := graphql.GetFieldContext(ctx)
return obj.VisibleInputFields(fc.Args["includeDeprecated"].(bool)), nil
}, },
nil, nil,
func(ctx context.Context, selections ast.SelectionSet, v []introspection.InputValue) graphql.Marshaler { func(ctx context.Context, selections ast.SelectionSet, v []introspection.InputValue) graphql.Marshaler {
@@ -3531,7 +3548,7 @@ func (ec *executionContext) ___Type_inputFields(ctx context.Context, field graph
false, false,
) )
} }
func (ec *executionContext) fieldContext___Type_inputFields(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { func (ec *executionContext) fieldContext___Type_inputFields(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{ fc = &graphql.FieldContext{
Object: "__Type", Object: "__Type",
Field: field, Field: field,
@@ -3541,6 +3558,17 @@ func (ec *executionContext) fieldContext___Type_inputFields(_ context.Context, f
return ec.childFields___InputValue(ctx, field) return ec.childFields___InputValue(ctx, field)
}, },
} }
defer func() {
if r := recover(); r != nil {
err = ec.Recover(ctx, r)
ec.Error(ctx, err)
}
}()
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field___Type_inputFields_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
return fc, err
}
return fc, nil return fc, nil
} }
@@ -4021,7 +4049,7 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
return ec._Query___schema(ctx, field) return ec._Query___schema(ctx, field)
}) })
if out.Values[i] == graphql.RequiredNull { if out.Values[i] == graphql.Null {
atomic.AddUint32(&out.Invalids, 1) atomic.AddUint32(&out.Invalids, 1)
} }
default: default:
@@ -4961,6 +4989,14 @@ func (ec *executionContext) marshalN__InputValue2ᚕgithubᚗcomᚋ99designsᚋg
return ret return ret
} }
func (ec *executionContext) marshalN__Schema2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐSchema(ctx context.Context, sel ast.SelectionSet, v *introspection.Schema) graphql.Marshaler {
if v == nil {
graphql.AddInvalidNullError(ctx, "__Schema!")
return graphql.Null
}
return ec.___Schema(ctx, sel, v)
}
func (ec *executionContext) marshalN__Type2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx context.Context, sel ast.SelectionSet, v introspection.Type) graphql.Marshaler { func (ec *executionContext) marshalN__Type2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx context.Context, sel ast.SelectionSet, v introspection.Type) graphql.Marshaler {
return ec.___Type(ctx, sel, &v) return ec.___Type(ctx, sel, &v)
} }
@@ -5116,13 +5152,6 @@ func (ec *executionContext) marshalO__InputValue2ᚕgithubᚗcomᚋ99designsᚋg
return ret return ret
} }
func (ec *executionContext) marshalO__Schema2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐSchema(ctx context.Context, sel ast.SelectionSet, v *introspection.Schema) graphql.Marshaler {
if v == nil {
return graphql.Null
}
return ec.___Schema(ctx, sel, v)
}
func (ec *executionContext) marshalO__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐTypeᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.Type) graphql.Marshaler { func (ec *executionContext) marshalO__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐTypeᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.Type) graphql.Marshaler {
if v == nil { if v == nil {
return graphql.Null return graphql.Null