(ctx context.Context, field graphql.CollectedField, obj *introspection.Field)
| 5440 | } |
| 5441 | |
| 5442 | func (ec *executionContext) ___Field_args(ctx context.Context, field graphql.CollectedField, obj *introspection.Field) (ret graphql.Marshaler) { |
| 5443 | fc, err := ec.fieldContext___Field_args(ctx, field) |
| 5444 | if err != nil { |
| 5445 | return graphql.Null |
| 5446 | } |
| 5447 | ctx = graphql.WithFieldContext(ctx, fc) |
| 5448 | defer func() { |
| 5449 | if r := recover(); r != nil { |
| 5450 | ec.Error(ctx, ec.Recover(ctx, r)) |
| 5451 | ret = graphql.Null |
| 5452 | } |
| 5453 | }() |
| 5454 | resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { |
| 5455 | ctx = rctx // use context from middleware stack in children |
| 5456 | return obj.Args, nil |
| 5457 | }) |
| 5458 | if err != nil { |
| 5459 | ec.Error(ctx, err) |
| 5460 | return graphql.Null |
| 5461 | } |
| 5462 | if resTmp == nil { |
| 5463 | if !graphql.HasFieldError(ctx, fc) { |
| 5464 | ec.Errorf(ctx, "must not be null") |
| 5465 | } |
| 5466 | return graphql.Null |
| 5467 | } |
| 5468 | res := resTmp.([]introspection.InputValue) |
| 5469 | fc.Result = res |
| 5470 | return ec.marshalN__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ(ctx, field.Selections, res) |
| 5471 | } |
| 5472 | |
| 5473 | func (ec *executionContext) fieldContext___Field_args(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { |
| 5474 | fc = &graphql.FieldContext{ |
no test coverage detected