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

Method field_Query_getModel_args

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

Source from the content-addressed store, hash-verified

1111}
1112
1113func (ec *executionContext) field_Query_getModel_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
1114 var err error
1115 args := map[string]interface{}{}
1116 var arg0 string
1117 if tmp, ok := rawArgs["id"]; ok {
1118 ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
1119 arg0, err = ec.unmarshalNID2string(ctx, tmp)
1120 if err != nil {
1121 return nil, err
1122 }
1123 }
1124 args["id"] = arg0
1125 return args, nil
1126}
1127
1128func (ec *executionContext) field_Query_getPipelineExecutions_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
1129 var err error

Callers 2

ComplexityMethod · 0.95

Calls 1

unmarshalNID2stringMethod · 0.95

Tested by

no test coverage detected