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

Method fieldContext___Directive_args

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

Source from the content-addressed store, hash-verified

5118}
5119
5120func (ec *executionContext) fieldContext___Directive_args(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
5121 fc = &graphql.FieldContext{
5122 Object: "__Directive",
5123 Field: field,
5124 IsMethod: false,
5125 IsResolver: false,
5126 Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
5127 switch field.Name {
5128 case "name":
5129 return ec.fieldContext___InputValue_name(ctx, field)
5130 case "description":
5131 return ec.fieldContext___InputValue_description(ctx, field)
5132 case "type":
5133 return ec.fieldContext___InputValue_type(ctx, field)
5134 case "defaultValue":
5135 return ec.fieldContext___InputValue_defaultValue(ctx, field)
5136 }
5137 return nil, fmt.Errorf("no field named %q was found under type __InputValue", field.Name)
5138 },
5139 }
5140 return fc, nil
5141}
5142
5143func (ec *executionContext) ___Directive_isRepeatable(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) {
5144 fc, err := ec.fieldContext___Directive_isRepeatable(ctx, field)

Callers 2

___Directive_argsMethod · 0.95

Tested by

no test coverage detected