MCPcopy Create free account
hub / github.com/encoder-run/operator / fieldContext___Field_args

Method fieldContext___Field_args

pkg/graph/generated.go:5473–5494  ·  view source on GitHub ↗
(ctx context.Context, field graphql.CollectedField)

Source from the content-addressed store, hash-verified

5471}
5472
5473func (ec *executionContext) fieldContext___Field_args(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
5474 fc = &graphql.FieldContext{
5475 Object: "__Field",
5476 Field: field,
5477 IsMethod: false,
5478 IsResolver: false,
5479 Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
5480 switch field.Name {
5481 case "name":
5482 return ec.fieldContext___InputValue_name(ctx, field)
5483 case "description":
5484 return ec.fieldContext___InputValue_description(ctx, field)
5485 case "type":
5486 return ec.fieldContext___InputValue_type(ctx, field)
5487 case "defaultValue":
5488 return ec.fieldContext___InputValue_defaultValue(ctx, field)
5489 }
5490 return nil, fmt.Errorf("no field named %q was found under type __InputValue", field.Name)
5491 },
5492 }
5493 return fc, nil
5494}
5495
5496func (ec *executionContext) ___Field_type(ctx context.Context, field graphql.CollectedField, obj *introspection.Field) (ret graphql.Marshaler) {
5497 fc, err := ec.fieldContext___Field_type(ctx, field)

Callers 2

___Field_argsMethod · 0.95

Tested by

no test coverage detected