(ctx context.Context, sel ast.SelectionSet, obj *model.Pipeline)
| 7516 | var pipelineImplementors = []string{"Pipeline"} |
| 7517 | |
| 7518 | func (ec *executionContext) _Pipeline(ctx context.Context, sel ast.SelectionSet, obj *model.Pipeline) graphql.Marshaler { |
| 7519 | fields := graphql.CollectFields(ec.OperationContext, sel, pipelineImplementors) |
| 7520 | |
| 7521 | out := graphql.NewFieldSet(fields) |
| 7522 | deferred := make(map[string]*graphql.FieldSet) |
| 7523 | for i, field := range fields { |
| 7524 | switch field.Name { |
| 7525 | case "__typename": |
| 7526 | out.Values[i] = graphql.MarshalString("Pipeline") |
| 7527 | case "id": |
| 7528 | out.Values[i] = ec._Pipeline_id(ctx, field, obj) |
| 7529 | if out.Values[i] == graphql.Null { |
| 7530 | out.Invalids++ |
| 7531 | } |
| 7532 | case "name": |
| 7533 | out.Values[i] = ec._Pipeline_name(ctx, field, obj) |
| 7534 | if out.Values[i] == graphql.Null { |
| 7535 | out.Invalids++ |
| 7536 | } |
| 7537 | case "type": |
| 7538 | out.Values[i] = ec._Pipeline_type(ctx, field, obj) |
| 7539 | if out.Values[i] == graphql.Null { |
| 7540 | out.Invalids++ |
| 7541 | } |
| 7542 | case "enabled": |
| 7543 | out.Values[i] = ec._Pipeline_enabled(ctx, field, obj) |
| 7544 | if out.Values[i] == graphql.Null { |
| 7545 | out.Invalids++ |
| 7546 | } |
| 7547 | case "status": |
| 7548 | out.Values[i] = ec._Pipeline_status(ctx, field, obj) |
| 7549 | if out.Values[i] == graphql.Null { |
| 7550 | out.Invalids++ |
| 7551 | } |
| 7552 | case "repositoryEmbeddings": |
| 7553 | out.Values[i] = ec._Pipeline_repositoryEmbeddings(ctx, field, obj) |
| 7554 | default: |
| 7555 | panic("unknown field " + strconv.Quote(field.Name)) |
| 7556 | } |
| 7557 | } |
| 7558 | out.Dispatch(ctx) |
| 7559 | if out.Invalids > 0 { |
| 7560 | return graphql.Null |
| 7561 | } |
| 7562 | |
| 7563 | atomic.AddInt32(&ec.deferred, int32(len(deferred))) |
| 7564 | |
| 7565 | for label, dfs := range deferred { |
| 7566 | ec.processDeferredGroup(graphql.DeferredGroup{ |
| 7567 | Label: label, |
| 7568 | Path: graphql.GetPath(ctx), |
| 7569 | FieldSet: dfs, |
| 7570 | Context: ctx, |
| 7571 | }) |
| 7572 | } |
| 7573 | |
| 7574 | return out |
| 7575 | } |
no test coverage detected