Compare commits
1
Commits
main
..
234af39047
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
234af39047 |
@@ -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.unmarshalOBoolean2bool(ctx, v)
|
return ec.unmarshalOBoolean2ᚖbool(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.unmarshalOBoolean2bool(ctx, v)
|
return ec.unmarshalOBoolean2ᚖbool(ctx, v)
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
@@ -1084,20 +1084,6 @@ 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 *****************************
|
||||||
@@ -2045,10 +2031,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.marshalN__Schema2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐSchema(ctx, selections, v)
|
return ec.marshalO__Schema2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐSchema(ctx, selections, v)
|
||||||
},
|
},
|
||||||
true,
|
true,
|
||||||
true,
|
false,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
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) {
|
||||||
@@ -2659,8 +2645,7 @@ 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) {
|
||||||
fc := graphql.GetFieldContext(ctx)
|
return obj.Args, nil
|
||||||
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 {
|
||||||
@@ -2674,7 +2659,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: true,
|
IsMethod: false,
|
||||||
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)
|
||||||
@@ -2841,8 +2826,7 @@ 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) {
|
||||||
fc := graphql.GetFieldContext(ctx)
|
return obj.Args, nil
|
||||||
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 {
|
||||||
@@ -2856,7 +2840,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: true,
|
IsMethod: false,
|
||||||
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)
|
||||||
@@ -3537,8 +3521,7 @@ 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) {
|
||||||
fc := graphql.GetFieldContext(ctx)
|
return obj.InputFields(), nil
|
||||||
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 {
|
||||||
@@ -3548,7 +3531,7 @@ func (ec *executionContext) ___Type_inputFields(ctx context.Context, field graph
|
|||||||
false,
|
false,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
func (ec *executionContext) fieldContext___Type_inputFields(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
func (ec *executionContext) fieldContext___Type_inputFields(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
|
||||||
fc = &graphql.FieldContext{
|
fc = &graphql.FieldContext{
|
||||||
Object: "__Type",
|
Object: "__Type",
|
||||||
Field: field,
|
Field: field,
|
||||||
@@ -3558,17 +3541,6 @@ func (ec *executionContext) fieldContext___Type_inputFields(ctx context.Context,
|
|||||||
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
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -4049,7 +4021,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.Null {
|
if out.Values[i] == graphql.RequiredNull {
|
||||||
atomic.AddUint32(&out.Invalids, 1)
|
atomic.AddUint32(&out.Invalids, 1)
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
@@ -4989,14 +4961,6 @@ 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)
|
||||||
}
|
}
|
||||||
@@ -5152,6 +5116,13 @@ 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
|
||||||
|
|||||||
Reference in new issue
Block a user