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

Method fieldContext_Query___schema

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

Source from the content-addressed store, hash-verified

3694}
3695
3696func (ec *executionContext) fieldContext_Query___schema(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
3697 fc = &graphql.FieldContext{
3698 Object: "Query",
3699 Field: field,
3700 IsMethod: true,
3701 IsResolver: false,
3702 Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
3703 switch field.Name {
3704 case "description":
3705 return ec.fieldContext___Schema_description(ctx, field)
3706 case "types":
3707 return ec.fieldContext___Schema_types(ctx, field)
3708 case "queryType":
3709 return ec.fieldContext___Schema_queryType(ctx, field)
3710 case "mutationType":
3711 return ec.fieldContext___Schema_mutationType(ctx, field)
3712 case "subscriptionType":
3713 return ec.fieldContext___Schema_subscriptionType(ctx, field)
3714 case "directives":
3715 return ec.fieldContext___Schema_directives(ctx, field)
3716 }
3717 return nil, fmt.Errorf("no field named %q was found under type __Schema", field.Name)
3718 },
3719 }
3720 return fc, nil
3721}
3722
3723func (ec *executionContext) _Repository_id(ctx context.Context, field graphql.CollectedField, obj *model.Repository) (ret graphql.Marshaler) {
3724 fc, err := ec.fieldContext_Repository_id(ctx, field)

Callers 1

_Query___schemaMethod · 0.95

Tested by

no test coverage detected