MCPcopy Create free account
hub / github.com/encoder-run/operator / field_Query_getPipeline_args

Method field_Query_getPipeline_args

pkg/graph/generated.go:1143–1156  ·  view source on GitHub ↗
(ctx context.Context, rawArgs map[string]interface{})

Source from the content-addressed store, hash-verified

1141}
1142
1143func (ec *executionContext) field_Query_getPipeline_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
1144 var err error
1145 args := map[string]interface{}{}
1146 var arg0 string
1147 if tmp, ok := rawArgs["id"]; ok {
1148 ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
1149 arg0, err = ec.unmarshalNID2string(ctx, tmp)
1150 if err != nil {
1151 return nil, err
1152 }
1153 }
1154 args["id"] = arg0
1155 return args, nil
1156}
1157
1158func (ec *executionContext) field_Query_getRepository_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
1159 var err error

Callers 2

ComplexityMethod · 0.95

Calls 1

unmarshalNID2stringMethod · 0.95

Tested by

no test coverage detected