(ctx context.Context, field schema.Field)
| 692 | } |
| 693 | |
| 694 | func (hr *httpResolver) Resolve(ctx context.Context, field schema.Field) *Resolved { |
| 695 | span := trace.SpanFromContext(ctx) |
| 696 | stop := x.SpanTimer(span, "resolveHTTP") |
| 697 | defer stop() |
| 698 | |
| 699 | resolved := hr.rewriteAndExecute(ctx, field) |
| 700 | return resolved |
| 701 | } |
| 702 | |
| 703 | func (hr *httpResolver) rewriteAndExecute(ctx context.Context, field schema.Field) *Resolved { |
| 704 | hrc, err := field.CustomHTTPConfig() |
nothing calls this directly
no test coverage detected