(ctx context.Context, field graphql.CollectedField, obj *introspection.InputValue)
| 5689 | } |
| 5690 | |
| 5691 | func (ec *executionContext) ___InputValue_description(ctx context.Context, field graphql.CollectedField, obj *introspection.InputValue) (ret graphql.Marshaler) { |
| 5692 | fc, err := ec.fieldContext___InputValue_description(ctx, field) |
| 5693 | if err != nil { |
| 5694 | return graphql.Null |
| 5695 | } |
| 5696 | ctx = graphql.WithFieldContext(ctx, fc) |
| 5697 | defer func() { |
| 5698 | if r := recover(); r != nil { |
| 5699 | ec.Error(ctx, ec.Recover(ctx, r)) |
| 5700 | ret = graphql.Null |
| 5701 | } |
| 5702 | }() |
| 5703 | resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { |
| 5704 | ctx = rctx // use context from middleware stack in children |
| 5705 | return obj.Description(), nil |
| 5706 | }) |
| 5707 | if err != nil { |
| 5708 | ec.Error(ctx, err) |
| 5709 | return graphql.Null |
| 5710 | } |
| 5711 | if resTmp == nil { |
| 5712 | return graphql.Null |
| 5713 | } |
| 5714 | res := resTmp.(*string) |
| 5715 | fc.Result = res |
| 5716 | return ec.marshalOString2ᚖstring(ctx, field.Selections, res) |
| 5717 | } |
| 5718 | |
| 5719 | func (ec *executionContext) fieldContext___InputValue_description(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { |
| 5720 | fc = &graphql.FieldContext{ |
no test coverage detected