(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema)
| 5837 | } |
| 5838 | |
| 5839 | func (ec *executionContext) ___Schema_description(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) { |
| 5840 | fc, err := ec.fieldContext___Schema_description(ctx, field) |
| 5841 | if err != nil { |
| 5842 | return graphql.Null |
| 5843 | } |
| 5844 | ctx = graphql.WithFieldContext(ctx, fc) |
| 5845 | defer func() { |
| 5846 | if r := recover(); r != nil { |
| 5847 | ec.Error(ctx, ec.Recover(ctx, r)) |
| 5848 | ret = graphql.Null |
| 5849 | } |
| 5850 | }() |
| 5851 | resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { |
| 5852 | ctx = rctx // use context from middleware stack in children |
| 5853 | return obj.Description(), nil |
| 5854 | }) |
| 5855 | if err != nil { |
| 5856 | ec.Error(ctx, err) |
| 5857 | return graphql.Null |
| 5858 | } |
| 5859 | if resTmp == nil { |
| 5860 | return graphql.Null |
| 5861 | } |
| 5862 | res := resTmp.(*string) |
| 5863 | fc.Result = res |
| 5864 | return ec.marshalOString2ᚖstring(ctx, field.Selections, res) |
| 5865 | } |
| 5866 | |
| 5867 | func (ec *executionContext) fieldContext___Schema_description(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { |
| 5868 | fc = &graphql.FieldContext{ |
no test coverage detected